(0) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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(U101(tt, V1, V2)) → MARK(U102(isNatural(V1), V2))
ACTIVE(U101(tt, V1, V2)) → U1021(isNatural(V1), V2)
ACTIVE(U101(tt, V1, V2)) → ISNATURAL(V1)
ACTIVE(U102(tt, V2)) → MARK(U103(isLNat(V2)))
ACTIVE(U102(tt, V2)) → U1031(isLNat(V2))
ACTIVE(U102(tt, V2)) → ISLNAT(V2)
ACTIVE(U103(tt)) → MARK(tt)
ACTIVE(U11(tt, N, XS)) → MARK(snd(splitAt(N, XS)))
ACTIVE(U11(tt, N, XS)) → SND(splitAt(N, XS))
ACTIVE(U11(tt, N, XS)) → SPLITAT(N, XS)
ACTIVE(U111(tt, V1)) → MARK(U112(isLNat(V1)))
ACTIVE(U111(tt, V1)) → U1121(isLNat(V1))
ACTIVE(U111(tt, V1)) → ISLNAT(V1)
ACTIVE(U112(tt)) → MARK(tt)
ACTIVE(U121(tt, V1)) → MARK(U122(isNatural(V1)))
ACTIVE(U121(tt, V1)) → U1221(isNatural(V1))
ACTIVE(U121(tt, V1)) → ISNATURAL(V1)
ACTIVE(U122(tt)) → MARK(tt)
ACTIVE(U131(tt, V1, V2)) → MARK(U132(isNatural(V1), V2))
ACTIVE(U131(tt, V1, V2)) → U1321(isNatural(V1), V2)
ACTIVE(U131(tt, V1, V2)) → ISNATURAL(V1)
ACTIVE(U132(tt, V2)) → MARK(U133(isLNat(V2)))
ACTIVE(U132(tt, V2)) → U1331(isLNat(V2))
ACTIVE(U132(tt, V2)) → ISLNAT(V2)
ACTIVE(U133(tt)) → MARK(tt)
ACTIVE(U141(tt, V1, V2)) → MARK(U142(isLNat(V1), V2))
ACTIVE(U141(tt, V1, V2)) → U1421(isLNat(V1), V2)
ACTIVE(U141(tt, V1, V2)) → ISLNAT(V1)
ACTIVE(U142(tt, V2)) → MARK(U143(isLNat(V2)))
ACTIVE(U142(tt, V2)) → U1431(isLNat(V2))
ACTIVE(U142(tt, V2)) → ISLNAT(V2)
ACTIVE(U143(tt)) → MARK(tt)
ACTIVE(U151(tt, V1, V2)) → MARK(U152(isNatural(V1), V2))
ACTIVE(U151(tt, V1, V2)) → U1521(isNatural(V1), V2)
ACTIVE(U151(tt, V1, V2)) → ISNATURAL(V1)
ACTIVE(U152(tt, V2)) → MARK(U153(isLNat(V2)))
ACTIVE(U152(tt, V2)) → U1531(isLNat(V2))
ACTIVE(U152(tt, V2)) → ISLNAT(V2)
ACTIVE(U153(tt)) → MARK(tt)
ACTIVE(U161(tt, N)) → MARK(cons(N, natsFrom(s(N))))
ACTIVE(U161(tt, N)) → CONS(N, natsFrom(s(N)))
ACTIVE(U161(tt, N)) → NATSFROM(s(N))
ACTIVE(U161(tt, N)) → S(N)
ACTIVE(U171(tt, N, XS)) → MARK(head(afterNth(N, XS)))
ACTIVE(U171(tt, N, XS)) → HEAD(afterNth(N, XS))
ACTIVE(U171(tt, N, XS)) → AFTERNTH(N, XS)
ACTIVE(U181(tt, Y)) → MARK(Y)
ACTIVE(U191(tt, XS)) → MARK(pair(nil, XS))
ACTIVE(U191(tt, XS)) → PAIR(nil, XS)
ACTIVE(U201(tt, N, X, XS)) → MARK(U202(splitAt(N, XS), X))
ACTIVE(U201(tt, N, X, XS)) → U2021(splitAt(N, XS), X)
ACTIVE(U201(tt, N, X, XS)) → SPLITAT(N, XS)
ACTIVE(U202(pair(YS, ZS), X)) → MARK(pair(cons(X, YS), ZS))
ACTIVE(U202(pair(YS, ZS), X)) → PAIR(cons(X, YS), ZS)
ACTIVE(U202(pair(YS, ZS), X)) → CONS(X, YS)
ACTIVE(U21(tt, X)) → MARK(X)
ACTIVE(U211(tt, XS)) → MARK(XS)
ACTIVE(U221(tt, N, XS)) → MARK(fst(splitAt(N, XS)))
ACTIVE(U221(tt, N, XS)) → FST(splitAt(N, XS))
ACTIVE(U221(tt, N, XS)) → SPLITAT(N, XS)
ACTIVE(U31(tt, N)) → MARK(N)
ACTIVE(U41(tt, V1, V2)) → MARK(U42(isNatural(V1), V2))
ACTIVE(U41(tt, V1, V2)) → U421(isNatural(V1), V2)
ACTIVE(U41(tt, V1, V2)) → ISNATURAL(V1)
ACTIVE(U42(tt, V2)) → MARK(U43(isLNat(V2)))
ACTIVE(U42(tt, V2)) → U431(isLNat(V2))
ACTIVE(U42(tt, V2)) → ISLNAT(V2)
ACTIVE(U43(tt)) → MARK(tt)
ACTIVE(U51(tt, V1, V2)) → MARK(U52(isNatural(V1), V2))
ACTIVE(U51(tt, V1, V2)) → U521(isNatural(V1), V2)
ACTIVE(U51(tt, V1, V2)) → ISNATURAL(V1)
ACTIVE(U52(tt, V2)) → MARK(U53(isLNat(V2)))
ACTIVE(U52(tt, V2)) → U531(isLNat(V2))
ACTIVE(U52(tt, V2)) → ISLNAT(V2)
ACTIVE(U53(tt)) → MARK(tt)
ACTIVE(U61(tt, V1)) → MARK(U62(isPLNat(V1)))
ACTIVE(U61(tt, V1)) → U621(isPLNat(V1))
ACTIVE(U61(tt, V1)) → ISPLNAT(V1)
ACTIVE(U62(tt)) → MARK(tt)
ACTIVE(U71(tt, V1)) → MARK(U72(isNatural(V1)))
ACTIVE(U71(tt, V1)) → U721(isNatural(V1))
ACTIVE(U71(tt, V1)) → ISNATURAL(V1)
ACTIVE(U72(tt)) → MARK(tt)
ACTIVE(U81(tt, V1)) → MARK(U82(isPLNat(V1)))
ACTIVE(U81(tt, V1)) → U821(isPLNat(V1))
ACTIVE(U81(tt, V1)) → ISPLNAT(V1)
ACTIVE(U82(tt)) → MARK(tt)
ACTIVE(U91(tt, V1)) → MARK(U92(isLNat(V1)))
ACTIVE(U91(tt, V1)) → U921(isLNat(V1))
ACTIVE(U91(tt, V1)) → ISLNAT(V1)
ACTIVE(U92(tt)) → MARK(tt)
ACTIVE(afterNth(N, XS)) → MARK(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
ACTIVE(afterNth(N, XS)) → U111(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS)
ACTIVE(afterNth(N, XS)) → AND(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS)))
ACTIVE(afterNth(N, XS)) → AND(isNatural(N), isNaturalKind(N))
ACTIVE(afterNth(N, XS)) → ISNATURAL(N)
ACTIVE(afterNth(N, XS)) → ISNATURALKIND(N)
ACTIVE(afterNth(N, XS)) → AND(isLNat(XS), isLNatKind(XS))
ACTIVE(afterNth(N, XS)) → ISLNAT(XS)
ACTIVE(afterNth(N, XS)) → ISLNATKIND(XS)
ACTIVE(and(tt, X)) → MARK(X)
ACTIVE(fst(pair(X, Y))) → MARK(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
ACTIVE(fst(pair(X, Y))) → U211(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X)
ACTIVE(fst(pair(X, Y))) → AND(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y)))
ACTIVE(fst(pair(X, Y))) → AND(isLNat(X), isLNatKind(X))
ACTIVE(fst(pair(X, Y))) → ISLNAT(X)
ACTIVE(fst(pair(X, Y))) → ISLNATKIND(X)
ACTIVE(fst(pair(X, Y))) → AND(isLNat(Y), isLNatKind(Y))
ACTIVE(fst(pair(X, Y))) → ISLNAT(Y)
ACTIVE(fst(pair(X, Y))) → ISLNATKIND(Y)
ACTIVE(head(cons(N, XS))) → MARK(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
ACTIVE(head(cons(N, XS))) → U311(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N)
ACTIVE(head(cons(N, XS))) → AND(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS)))
ACTIVE(head(cons(N, XS))) → AND(isNatural(N), isNaturalKind(N))
ACTIVE(head(cons(N, XS))) → ISNATURAL(N)
ACTIVE(head(cons(N, XS))) → ISNATURALKIND(N)
ACTIVE(head(cons(N, XS))) → AND(isLNat(XS), isLNatKind(XS))
ACTIVE(head(cons(N, XS))) → ISLNAT(XS)
ACTIVE(head(cons(N, XS))) → ISLNATKIND(XS)
ACTIVE(isLNat(nil)) → MARK(tt)
ACTIVE(isLNat(afterNth(V1, V2))) → MARK(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
ACTIVE(isLNat(afterNth(V1, V2))) → U411(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2)
ACTIVE(isLNat(afterNth(V1, V2))) → AND(isNaturalKind(V1), isLNatKind(V2))
ACTIVE(isLNat(afterNth(V1, V2))) → ISNATURALKIND(V1)
ACTIVE(isLNat(afterNth(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isLNat(cons(V1, V2))) → MARK(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
ACTIVE(isLNat(cons(V1, V2))) → U511(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2)
ACTIVE(isLNat(cons(V1, V2))) → AND(isNaturalKind(V1), isLNatKind(V2))
ACTIVE(isLNat(cons(V1, V2))) → ISNATURALKIND(V1)
ACTIVE(isLNat(cons(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isLNat(fst(V1))) → MARK(U61(isPLNatKind(V1), V1))
ACTIVE(isLNat(fst(V1))) → U611(isPLNatKind(V1), V1)
ACTIVE(isLNat(fst(V1))) → ISPLNATKIND(V1)
ACTIVE(isLNat(natsFrom(V1))) → MARK(U71(isNaturalKind(V1), V1))
ACTIVE(isLNat(natsFrom(V1))) → U711(isNaturalKind(V1), V1)
ACTIVE(isLNat(natsFrom(V1))) → ISNATURALKIND(V1)
ACTIVE(isLNat(snd(V1))) → MARK(U81(isPLNatKind(V1), V1))
ACTIVE(isLNat(snd(V1))) → U811(isPLNatKind(V1), V1)
ACTIVE(isLNat(snd(V1))) → ISPLNATKIND(V1)
ACTIVE(isLNat(tail(V1))) → MARK(U91(isLNatKind(V1), V1))
ACTIVE(isLNat(tail(V1))) → U911(isLNatKind(V1), V1)
ACTIVE(isLNat(tail(V1))) → ISLNATKIND(V1)
ACTIVE(isLNat(take(V1, V2))) → MARK(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
ACTIVE(isLNat(take(V1, V2))) → U1011(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2)
ACTIVE(isLNat(take(V1, V2))) → AND(isNaturalKind(V1), isLNatKind(V2))
ACTIVE(isLNat(take(V1, V2))) → ISNATURALKIND(V1)
ACTIVE(isLNat(take(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isLNatKind(nil)) → MARK(tt)
ACTIVE(isLNatKind(afterNth(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
ACTIVE(isLNatKind(afterNth(V1, V2))) → AND(isNaturalKind(V1), isLNatKind(V2))
ACTIVE(isLNatKind(afterNth(V1, V2))) → ISNATURALKIND(V1)
ACTIVE(isLNatKind(afterNth(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isLNatKind(cons(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
ACTIVE(isLNatKind(cons(V1, V2))) → AND(isNaturalKind(V1), isLNatKind(V2))
ACTIVE(isLNatKind(cons(V1, V2))) → ISNATURALKIND(V1)
ACTIVE(isLNatKind(cons(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isLNatKind(fst(V1))) → MARK(isPLNatKind(V1))
ACTIVE(isLNatKind(fst(V1))) → ISPLNATKIND(V1)
ACTIVE(isLNatKind(natsFrom(V1))) → MARK(isNaturalKind(V1))
ACTIVE(isLNatKind(natsFrom(V1))) → ISNATURALKIND(V1)
ACTIVE(isLNatKind(snd(V1))) → MARK(isPLNatKind(V1))
ACTIVE(isLNatKind(snd(V1))) → ISPLNATKIND(V1)
ACTIVE(isLNatKind(tail(V1))) → MARK(isLNatKind(V1))
ACTIVE(isLNatKind(tail(V1))) → ISLNATKIND(V1)
ACTIVE(isLNatKind(take(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
ACTIVE(isLNatKind(take(V1, V2))) → AND(isNaturalKind(V1), isLNatKind(V2))
ACTIVE(isLNatKind(take(V1, V2))) → ISNATURALKIND(V1)
ACTIVE(isLNatKind(take(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isNatural(0)) → MARK(tt)
ACTIVE(isNatural(head(V1))) → MARK(U111(isLNatKind(V1), V1))
ACTIVE(isNatural(head(V1))) → U1111(isLNatKind(V1), V1)
ACTIVE(isNatural(head(V1))) → ISLNATKIND(V1)
ACTIVE(isNatural(s(V1))) → MARK(U121(isNaturalKind(V1), V1))
ACTIVE(isNatural(s(V1))) → U1211(isNaturalKind(V1), V1)
ACTIVE(isNatural(s(V1))) → ISNATURALKIND(V1)
ACTIVE(isNatural(sel(V1, V2))) → MARK(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
ACTIVE(isNatural(sel(V1, V2))) → U1311(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2)
ACTIVE(isNatural(sel(V1, V2))) → AND(isNaturalKind(V1), isLNatKind(V2))
ACTIVE(isNatural(sel(V1, V2))) → ISNATURALKIND(V1)
ACTIVE(isNatural(sel(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isNaturalKind(0)) → MARK(tt)
ACTIVE(isNaturalKind(head(V1))) → MARK(isLNatKind(V1))
ACTIVE(isNaturalKind(head(V1))) → ISLNATKIND(V1)
ACTIVE(isNaturalKind(s(V1))) → MARK(isNaturalKind(V1))
ACTIVE(isNaturalKind(s(V1))) → ISNATURALKIND(V1)
ACTIVE(isNaturalKind(sel(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
ACTIVE(isNaturalKind(sel(V1, V2))) → AND(isNaturalKind(V1), isLNatKind(V2))
ACTIVE(isNaturalKind(sel(V1, V2))) → ISNATURALKIND(V1)
ACTIVE(isNaturalKind(sel(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isPLNat(pair(V1, V2))) → MARK(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
ACTIVE(isPLNat(pair(V1, V2))) → U1411(and(isLNatKind(V1), isLNatKind(V2)), V1, V2)
ACTIVE(isPLNat(pair(V1, V2))) → AND(isLNatKind(V1), isLNatKind(V2))
ACTIVE(isPLNat(pair(V1, V2))) → ISLNATKIND(V1)
ACTIVE(isPLNat(pair(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isPLNat(splitAt(V1, V2))) → MARK(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
ACTIVE(isPLNat(splitAt(V1, V2))) → U1511(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2)
ACTIVE(isPLNat(splitAt(V1, V2))) → AND(isNaturalKind(V1), isLNatKind(V2))
ACTIVE(isPLNat(splitAt(V1, V2))) → ISNATURALKIND(V1)
ACTIVE(isPLNat(splitAt(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isPLNatKind(pair(V1, V2))) → MARK(and(isLNatKind(V1), isLNatKind(V2)))
ACTIVE(isPLNatKind(pair(V1, V2))) → AND(isLNatKind(V1), isLNatKind(V2))
ACTIVE(isPLNatKind(pair(V1, V2))) → ISLNATKIND(V1)
ACTIVE(isPLNatKind(pair(V1, V2))) → ISLNATKIND(V2)
ACTIVE(isPLNatKind(splitAt(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
ACTIVE(isPLNatKind(splitAt(V1, V2))) → AND(isNaturalKind(V1), isLNatKind(V2))
ACTIVE(isPLNatKind(splitAt(V1, V2))) → ISNATURALKIND(V1)
ACTIVE(isPLNatKind(splitAt(V1, V2))) → ISLNATKIND(V2)
ACTIVE(natsFrom(N)) → MARK(U161(and(isNatural(N), isNaturalKind(N)), N))
ACTIVE(natsFrom(N)) → U1611(and(isNatural(N), isNaturalKind(N)), N)
ACTIVE(natsFrom(N)) → AND(isNatural(N), isNaturalKind(N))
ACTIVE(natsFrom(N)) → ISNATURAL(N)
ACTIVE(natsFrom(N)) → ISNATURALKIND(N)
ACTIVE(sel(N, XS)) → MARK(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
ACTIVE(sel(N, XS)) → U1711(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS)
ACTIVE(sel(N, XS)) → AND(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS)))
ACTIVE(sel(N, XS)) → AND(isNatural(N), isNaturalKind(N))
ACTIVE(sel(N, XS)) → ISNATURAL(N)
ACTIVE(sel(N, XS)) → ISNATURALKIND(N)
ACTIVE(sel(N, XS)) → AND(isLNat(XS), isLNatKind(XS))
ACTIVE(sel(N, XS)) → ISLNAT(XS)
ACTIVE(sel(N, XS)) → ISLNATKIND(XS)
ACTIVE(snd(pair(X, Y))) → MARK(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
ACTIVE(snd(pair(X, Y))) → U1811(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y)
ACTIVE(snd(pair(X, Y))) → AND(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y)))
ACTIVE(snd(pair(X, Y))) → AND(isLNat(X), isLNatKind(X))
ACTIVE(snd(pair(X, Y))) → ISLNAT(X)
ACTIVE(snd(pair(X, Y))) → ISLNATKIND(X)
ACTIVE(snd(pair(X, Y))) → AND(isLNat(Y), isLNatKind(Y))
ACTIVE(snd(pair(X, Y))) → ISLNAT(Y)
ACTIVE(snd(pair(X, Y))) → ISLNATKIND(Y)
ACTIVE(splitAt(0, XS)) → MARK(U191(and(isLNat(XS), isLNatKind(XS)), XS))
ACTIVE(splitAt(0, XS)) → U1911(and(isLNat(XS), isLNatKind(XS)), XS)
ACTIVE(splitAt(0, XS)) → AND(isLNat(XS), isLNatKind(XS))
ACTIVE(splitAt(0, XS)) → ISLNAT(XS)
ACTIVE(splitAt(0, XS)) → ISLNATKIND(XS)
ACTIVE(splitAt(s(N), cons(X, XS))) → MARK(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
ACTIVE(splitAt(s(N), cons(X, XS))) → U2011(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS)
ACTIVE(splitAt(s(N), cons(X, XS))) → AND(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS))))
ACTIVE(splitAt(s(N), cons(X, XS))) → AND(isNatural(N), isNaturalKind(N))
ACTIVE(splitAt(s(N), cons(X, XS))) → ISNATURAL(N)
ACTIVE(splitAt(s(N), cons(X, XS))) → ISNATURALKIND(N)
ACTIVE(splitAt(s(N), cons(X, XS))) → AND(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))
ACTIVE(splitAt(s(N), cons(X, XS))) → AND(isNatural(X), isNaturalKind(X))
ACTIVE(splitAt(s(N), cons(X, XS))) → ISNATURAL(X)
ACTIVE(splitAt(s(N), cons(X, XS))) → ISNATURALKIND(X)
ACTIVE(splitAt(s(N), cons(X, XS))) → AND(isLNat(XS), isLNatKind(XS))
ACTIVE(splitAt(s(N), cons(X, XS))) → ISLNAT(XS)
ACTIVE(splitAt(s(N), cons(X, XS))) → ISLNATKIND(XS)
ACTIVE(tail(cons(N, XS))) → MARK(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
ACTIVE(tail(cons(N, XS))) → U2111(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS)
ACTIVE(tail(cons(N, XS))) → AND(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS)))
ACTIVE(tail(cons(N, XS))) → AND(isNatural(N), isNaturalKind(N))
ACTIVE(tail(cons(N, XS))) → ISNATURAL(N)
ACTIVE(tail(cons(N, XS))) → ISNATURALKIND(N)
ACTIVE(tail(cons(N, XS))) → AND(isLNat(XS), isLNatKind(XS))
ACTIVE(tail(cons(N, XS))) → ISLNAT(XS)
ACTIVE(tail(cons(N, XS))) → ISLNATKIND(XS)
ACTIVE(take(N, XS)) → MARK(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
ACTIVE(take(N, XS)) → U2211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS)
ACTIVE(take(N, XS)) → AND(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS)))
ACTIVE(take(N, XS)) → AND(isNatural(N), isNaturalKind(N))
ACTIVE(take(N, XS)) → ISNATURAL(N)
ACTIVE(take(N, XS)) → ISNATURALKIND(N)
ACTIVE(take(N, XS)) → AND(isLNat(XS), isLNatKind(XS))
ACTIVE(take(N, XS)) → ISLNAT(XS)
ACTIVE(take(N, XS)) → ISLNATKIND(XS)
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)) → ACTIVE(U102(mark(X1), X2))
MARK(U102(X1, X2)) → U1021(mark(X1), X2)
MARK(U102(X1, X2)) → MARK(X1)
MARK(isNatural(X)) → ACTIVE(isNatural(X))
MARK(U103(X)) → ACTIVE(U103(mark(X)))
MARK(U103(X)) → U1031(mark(X))
MARK(U103(X)) → MARK(X)
MARK(isLNat(X)) → ACTIVE(isLNat(X))
MARK(U11(X1, X2, X3)) → ACTIVE(U11(mark(X1), X2, X3))
MARK(U11(X1, X2, X3)) → U111(mark(X1), X2, X3)
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(snd(X)) → ACTIVE(snd(mark(X)))
MARK(snd(X)) → SND(mark(X))
MARK(snd(X)) → MARK(X)
MARK(splitAt(X1, X2)) → ACTIVE(splitAt(mark(X1), mark(X2)))
MARK(splitAt(X1, X2)) → SPLITAT(mark(X1), mark(X2))
MARK(splitAt(X1, X2)) → MARK(X1)
MARK(splitAt(X1, X2)) → MARK(X2)
MARK(U111(X1, X2)) → ACTIVE(U111(mark(X1), X2))
MARK(U111(X1, X2)) → U1111(mark(X1), X2)
MARK(U111(X1, X2)) → MARK(X1)
MARK(U112(X)) → ACTIVE(U112(mark(X)))
MARK(U112(X)) → U1121(mark(X))
MARK(U112(X)) → MARK(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(U131(X1, X2, X3)) → ACTIVE(U131(mark(X1), X2, X3))
MARK(U131(X1, X2, X3)) → U1311(mark(X1), X2, X3)
MARK(U131(X1, X2, X3)) → MARK(X1)
MARK(U132(X1, X2)) → ACTIVE(U132(mark(X1), X2))
MARK(U132(X1, X2)) → U1321(mark(X1), X2)
MARK(U132(X1, X2)) → MARK(X1)
MARK(U133(X)) → ACTIVE(U133(mark(X)))
MARK(U133(X)) → U1331(mark(X))
MARK(U133(X)) → MARK(X)
MARK(U141(X1, X2, X3)) → ACTIVE(U141(mark(X1), X2, X3))
MARK(U141(X1, X2, X3)) → U1411(mark(X1), X2, X3)
MARK(U141(X1, X2, X3)) → MARK(X1)
MARK(U142(X1, X2)) → ACTIVE(U142(mark(X1), X2))
MARK(U142(X1, X2)) → U1421(mark(X1), X2)
MARK(U142(X1, X2)) → MARK(X1)
MARK(U143(X)) → ACTIVE(U143(mark(X)))
MARK(U143(X)) → U1431(mark(X))
MARK(U143(X)) → MARK(X)
MARK(U151(X1, X2, X3)) → ACTIVE(U151(mark(X1), X2, X3))
MARK(U151(X1, X2, X3)) → U1511(mark(X1), X2, X3)
MARK(U151(X1, X2, X3)) → MARK(X1)
MARK(U152(X1, X2)) → ACTIVE(U152(mark(X1), X2))
MARK(U152(X1, X2)) → U1521(mark(X1), X2)
MARK(U152(X1, X2)) → MARK(X1)
MARK(U153(X)) → ACTIVE(U153(mark(X)))
MARK(U153(X)) → U1531(mark(X))
MARK(U153(X)) → MARK(X)
MARK(U161(X1, X2)) → ACTIVE(U161(mark(X1), X2))
MARK(U161(X1, X2)) → U1611(mark(X1), X2)
MARK(U161(X1, X2)) → MARK(X1)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
MARK(cons(X1, X2)) → CONS(mark(X1), X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(natsFrom(X)) → ACTIVE(natsFrom(mark(X)))
MARK(natsFrom(X)) → NATSFROM(mark(X))
MARK(natsFrom(X)) → MARK(X)
MARK(s(X)) → ACTIVE(s(mark(X)))
MARK(s(X)) → S(mark(X))
MARK(s(X)) → MARK(X)
MARK(U171(X1, X2, X3)) → ACTIVE(U171(mark(X1), X2, X3))
MARK(U171(X1, X2, X3)) → U1711(mark(X1), X2, X3)
MARK(U171(X1, X2, X3)) → MARK(X1)
MARK(head(X)) → ACTIVE(head(mark(X)))
MARK(head(X)) → HEAD(mark(X))
MARK(head(X)) → MARK(X)
MARK(afterNth(X1, X2)) → ACTIVE(afterNth(mark(X1), mark(X2)))
MARK(afterNth(X1, X2)) → AFTERNTH(mark(X1), mark(X2))
MARK(afterNth(X1, X2)) → MARK(X1)
MARK(afterNth(X1, X2)) → MARK(X2)
MARK(U181(X1, X2)) → ACTIVE(U181(mark(X1), X2))
MARK(U181(X1, X2)) → U1811(mark(X1), X2)
MARK(U181(X1, X2)) → MARK(X1)
MARK(U191(X1, X2)) → ACTIVE(U191(mark(X1), X2))
MARK(U191(X1, X2)) → U1911(mark(X1), X2)
MARK(U191(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → ACTIVE(pair(mark(X1), mark(X2)))
MARK(pair(X1, X2)) → PAIR(mark(X1), mark(X2))
MARK(pair(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → MARK(X2)
MARK(nil) → ACTIVE(nil)
MARK(U201(X1, X2, X3, X4)) → ACTIVE(U201(mark(X1), X2, X3, X4))
MARK(U201(X1, X2, X3, X4)) → U2011(mark(X1), X2, X3, X4)
MARK(U201(X1, X2, X3, X4)) → MARK(X1)
MARK(U202(X1, X2)) → ACTIVE(U202(mark(X1), X2))
MARK(U202(X1, X2)) → U2021(mark(X1), X2)
MARK(U202(X1, X2)) → MARK(X1)
MARK(U21(X1, X2)) → ACTIVE(U21(mark(X1), X2))
MARK(U21(X1, X2)) → U211(mark(X1), X2)
MARK(U21(X1, X2)) → MARK(X1)
MARK(U211(X1, X2)) → ACTIVE(U211(mark(X1), X2))
MARK(U211(X1, X2)) → U2111(mark(X1), X2)
MARK(U211(X1, X2)) → MARK(X1)
MARK(U221(X1, X2, X3)) → ACTIVE(U221(mark(X1), X2, X3))
MARK(U221(X1, X2, X3)) → U2211(mark(X1), X2, X3)
MARK(U221(X1, X2, X3)) → MARK(X1)
MARK(fst(X)) → ACTIVE(fst(mark(X)))
MARK(fst(X)) → FST(mark(X))
MARK(fst(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(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)) → ACTIVE(U42(mark(X1), X2))
MARK(U42(X1, X2)) → U421(mark(X1), X2)
MARK(U42(X1, X2)) → MARK(X1)
MARK(U43(X)) → ACTIVE(U43(mark(X)))
MARK(U43(X)) → U431(mark(X))
MARK(U43(X)) → MARK(X)
MARK(U51(X1, X2, X3)) → ACTIVE(U51(mark(X1), X2, X3))
MARK(U51(X1, X2, X3)) → U511(mark(X1), X2, X3)
MARK(U51(X1, X2, X3)) → MARK(X1)
MARK(U52(X1, X2)) → ACTIVE(U52(mark(X1), X2))
MARK(U52(X1, X2)) → U521(mark(X1), X2)
MARK(U52(X1, X2)) → MARK(X1)
MARK(U53(X)) → ACTIVE(U53(mark(X)))
MARK(U53(X)) → U531(mark(X))
MARK(U53(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(isPLNat(X)) → ACTIVE(isPLNat(X))
MARK(U71(X1, X2)) → ACTIVE(U71(mark(X1), X2))
MARK(U71(X1, X2)) → U711(mark(X1), X2)
MARK(U71(X1, X2)) → MARK(X1)
MARK(U72(X)) → ACTIVE(U72(mark(X)))
MARK(U72(X)) → U721(mark(X))
MARK(U72(X)) → MARK(X)
MARK(U81(X1, X2)) → ACTIVE(U81(mark(X1), X2))
MARK(U81(X1, X2)) → U811(mark(X1), X2)
MARK(U81(X1, X2)) → MARK(X1)
MARK(U82(X)) → ACTIVE(U82(mark(X)))
MARK(U82(X)) → U821(mark(X))
MARK(U82(X)) → MARK(X)
MARK(U91(X1, X2)) → ACTIVE(U91(mark(X1), X2))
MARK(U91(X1, X2)) → U911(mark(X1), X2)
MARK(U91(X1, X2)) → MARK(X1)
MARK(U92(X)) → ACTIVE(U92(mark(X)))
MARK(U92(X)) → U921(mark(X))
MARK(U92(X)) → MARK(X)
MARK(and(X1, X2)) → ACTIVE(and(mark(X1), X2))
MARK(and(X1, X2)) → AND(mark(X1), X2)
MARK(and(X1, X2)) → MARK(X1)
MARK(isNaturalKind(X)) → ACTIVE(isNaturalKind(X))
MARK(isLNatKind(X)) → ACTIVE(isLNatKind(X))
MARK(isPLNatKind(X)) → ACTIVE(isPLNatKind(X))
MARK(tail(X)) → ACTIVE(tail(mark(X)))
MARK(tail(X)) → TAIL(mark(X))
MARK(tail(X)) → MARK(X)
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(0) → ACTIVE(0)
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
MARK(sel(X1, X2)) → SEL(mark(X1), mark(X2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(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) → U1021(X1, X2)
U1021(X1, mark(X2)) → U1021(X1, X2)
U1021(active(X1), X2) → U1021(X1, X2)
U1021(X1, active(X2)) → U1021(X1, X2)
ISNATURAL(mark(X)) → ISNATURAL(X)
ISNATURAL(active(X)) → ISNATURAL(X)
U1031(mark(X)) → U1031(X)
U1031(active(X)) → U1031(X)
ISLNAT(mark(X)) → ISLNAT(X)
ISLNAT(active(X)) → ISLNAT(X)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
SND(mark(X)) → SND(X)
SND(active(X)) → SND(X)
SPLITAT(mark(X1), X2) → SPLITAT(X1, X2)
SPLITAT(X1, mark(X2)) → SPLITAT(X1, X2)
SPLITAT(active(X1), X2) → SPLITAT(X1, X2)
SPLITAT(X1, active(X2)) → SPLITAT(X1, X2)
U1111(mark(X1), X2) → U1111(X1, X2)
U1111(X1, mark(X2)) → U1111(X1, X2)
U1111(active(X1), X2) → U1111(X1, X2)
U1111(X1, active(X2)) → U1111(X1, X2)
U1121(mark(X)) → U1121(X)
U1121(active(X)) → U1121(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) → U1311(X1, X2, X3)
U1311(X1, mark(X2), X3) → U1311(X1, X2, X3)
U1311(X1, X2, mark(X3)) → U1311(X1, X2, X3)
U1311(active(X1), X2, X3) → U1311(X1, X2, X3)
U1311(X1, active(X2), X3) → U1311(X1, X2, X3)
U1311(X1, X2, active(X3)) → U1311(X1, X2, X3)
U1321(mark(X1), X2) → U1321(X1, X2)
U1321(X1, mark(X2)) → U1321(X1, X2)
U1321(active(X1), X2) → U1321(X1, X2)
U1321(X1, active(X2)) → U1321(X1, X2)
U1331(mark(X)) → U1331(X)
U1331(active(X)) → U1331(X)
U1411(mark(X1), X2, X3) → U1411(X1, X2, X3)
U1411(X1, mark(X2), X3) → U1411(X1, X2, X3)
U1411(X1, X2, mark(X3)) → U1411(X1, X2, X3)
U1411(active(X1), X2, X3) → U1411(X1, X2, X3)
U1411(X1, active(X2), X3) → U1411(X1, X2, X3)
U1411(X1, X2, active(X3)) → U1411(X1, X2, X3)
U1421(mark(X1), X2) → U1421(X1, X2)
U1421(X1, mark(X2)) → U1421(X1, X2)
U1421(active(X1), X2) → U1421(X1, X2)
U1421(X1, active(X2)) → U1421(X1, X2)
U1431(mark(X)) → U1431(X)
U1431(active(X)) → U1431(X)
U1511(mark(X1), X2, X3) → U1511(X1, X2, X3)
U1511(X1, mark(X2), X3) → U1511(X1, X2, X3)
U1511(X1, X2, mark(X3)) → U1511(X1, X2, X3)
U1511(active(X1), X2, X3) → U1511(X1, X2, X3)
U1511(X1, active(X2), X3) → U1511(X1, X2, X3)
U1511(X1, X2, active(X3)) → U1511(X1, X2, X3)
U1521(mark(X1), X2) → U1521(X1, X2)
U1521(X1, mark(X2)) → U1521(X1, X2)
U1521(active(X1), X2) → U1521(X1, X2)
U1521(X1, active(X2)) → U1521(X1, X2)
U1531(mark(X)) → U1531(X)
U1531(active(X)) → U1531(X)
U1611(mark(X1), X2) → U1611(X1, X2)
U1611(X1, mark(X2)) → U1611(X1, X2)
U1611(active(X1), X2) → U1611(X1, X2)
U1611(X1, active(X2)) → U1611(X1, X2)
CONS(mark(X1), X2) → CONS(X1, X2)
CONS(X1, mark(X2)) → CONS(X1, X2)
CONS(active(X1), X2) → CONS(X1, X2)
CONS(X1, active(X2)) → CONS(X1, X2)
NATSFROM(mark(X)) → NATSFROM(X)
NATSFROM(active(X)) → NATSFROM(X)
S(mark(X)) → S(X)
S(active(X)) → S(X)
U1711(mark(X1), X2, X3) → U1711(X1, X2, X3)
U1711(X1, mark(X2), X3) → U1711(X1, X2, X3)
U1711(X1, X2, mark(X3)) → U1711(X1, X2, X3)
U1711(active(X1), X2, X3) → U1711(X1, X2, X3)
U1711(X1, active(X2), X3) → U1711(X1, X2, X3)
U1711(X1, X2, active(X3)) → U1711(X1, X2, X3)
HEAD(mark(X)) → HEAD(X)
HEAD(active(X)) → HEAD(X)
AFTERNTH(mark(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(X1, mark(X2)) → AFTERNTH(X1, X2)
AFTERNTH(active(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(X1, active(X2)) → AFTERNTH(X1, X2)
U1811(mark(X1), X2) → U1811(X1, X2)
U1811(X1, mark(X2)) → U1811(X1, X2)
U1811(active(X1), X2) → U1811(X1, X2)
U1811(X1, active(X2)) → U1811(X1, X2)
U1911(mark(X1), X2) → U1911(X1, X2)
U1911(X1, mark(X2)) → U1911(X1, X2)
U1911(active(X1), X2) → U1911(X1, X2)
U1911(X1, active(X2)) → U1911(X1, X2)
PAIR(mark(X1), X2) → PAIR(X1, X2)
PAIR(X1, mark(X2)) → PAIR(X1, X2)
PAIR(active(X1), X2) → PAIR(X1, X2)
PAIR(X1, active(X2)) → PAIR(X1, X2)
U2011(mark(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, mark(X2), X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, X2, mark(X3), X4) → U2011(X1, X2, X3, X4)
U2011(X1, X2, X3, mark(X4)) → U2011(X1, X2, X3, X4)
U2011(active(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, active(X2), X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, X2, active(X3), X4) → U2011(X1, X2, X3, X4)
U2011(X1, X2, X3, active(X4)) → U2011(X1, X2, X3, X4)
U2021(mark(X1), X2) → U2021(X1, X2)
U2021(X1, mark(X2)) → U2021(X1, X2)
U2021(active(X1), X2) → U2021(X1, X2)
U2021(X1, active(X2)) → U2021(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)
U2111(mark(X1), X2) → U2111(X1, X2)
U2111(X1, mark(X2)) → U2111(X1, X2)
U2111(active(X1), X2) → U2111(X1, X2)
U2111(X1, active(X2)) → U2111(X1, X2)
U2211(mark(X1), X2, X3) → U2211(X1, X2, X3)
U2211(X1, mark(X2), X3) → U2211(X1, X2, X3)
U2211(X1, X2, mark(X3)) → U2211(X1, X2, X3)
U2211(active(X1), X2, X3) → U2211(X1, X2, X3)
U2211(X1, active(X2), X3) → U2211(X1, X2, X3)
U2211(X1, X2, active(X3)) → U2211(X1, X2, X3)
FST(mark(X)) → FST(X)
FST(active(X)) → FST(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)
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) → U421(X1, X2)
U421(X1, mark(X2)) → U421(X1, X2)
U421(active(X1), X2) → U421(X1, X2)
U421(X1, active(X2)) → U421(X1, X2)
U431(mark(X)) → U431(X)
U431(active(X)) → U431(X)
U511(mark(X1), X2, X3) → U511(X1, X2, X3)
U511(X1, mark(X2), X3) → U511(X1, X2, X3)
U511(X1, X2, mark(X3)) → U511(X1, X2, X3)
U511(active(X1), X2, X3) → U511(X1, X2, X3)
U511(X1, active(X2), X3) → U511(X1, X2, X3)
U511(X1, X2, active(X3)) → U511(X1, X2, X3)
U521(mark(X1), X2) → U521(X1, X2)
U521(X1, mark(X2)) → U521(X1, X2)
U521(active(X1), X2) → U521(X1, X2)
U521(X1, active(X2)) → U521(X1, X2)
U531(mark(X)) → U531(X)
U531(active(X)) → U531(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)
ISPLNAT(mark(X)) → ISPLNAT(X)
ISPLNAT(active(X)) → ISPLNAT(X)
U711(mark(X1), X2) → U711(X1, X2)
U711(X1, mark(X2)) → U711(X1, X2)
U711(active(X1), X2) → U711(X1, X2)
U711(X1, active(X2)) → U711(X1, X2)
U721(mark(X)) → U721(X)
U721(active(X)) → U721(X)
U811(mark(X1), X2) → U811(X1, X2)
U811(X1, mark(X2)) → U811(X1, X2)
U811(active(X1), X2) → U811(X1, X2)
U811(X1, active(X2)) → U811(X1, X2)
U821(mark(X)) → U821(X)
U821(active(X)) → U821(X)
U911(mark(X1), X2) → U911(X1, X2)
U911(X1, mark(X2)) → U911(X1, X2)
U911(active(X1), X2) → U911(X1, X2)
U911(X1, active(X2)) → U911(X1, X2)
U921(mark(X)) → U921(X)
U921(active(X)) → U921(X)
AND(mark(X1), X2) → AND(X1, X2)
AND(X1, mark(X2)) → AND(X1, X2)
AND(active(X1), X2) → AND(X1, X2)
AND(X1, active(X2)) → AND(X1, X2)
ISNATURALKIND(mark(X)) → ISNATURALKIND(X)
ISNATURALKIND(active(X)) → ISNATURALKIND(X)
ISLNATKIND(mark(X)) → ISLNATKIND(X)
ISLNATKIND(active(X)) → ISLNATKIND(X)
ISPLNATKIND(mark(X)) → ISPLNATKIND(X)
ISPLNATKIND(active(X)) → ISPLNATKIND(X)
TAIL(mark(X)) → TAIL(X)
TAIL(active(X)) → TAIL(X)
TAKE(mark(X1), X2) → TAKE(X1, X2)
TAKE(X1, mark(X2)) → TAKE(X1, X2)
TAKE(active(X1), X2) → TAKE(X1, X2)
TAKE(X1, active(X2)) → TAKE(X1, X2)
SEL(mark(X1), X2) → SEL(X1, X2)
SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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 61 SCCs with 259 less nodes.

(4) Complex Obligation (AND)

(5) Obligation:

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

SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(mark(X1), X2) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
mark1: [1]
SEL1: [1]


The following usable rules [FROCOS05] were oriented: none

(7) Obligation:

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

SEL(mark(X1), X2) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[SEL2, mark1]

Status:
mark1: [1]
SEL2: [2,1]


The following usable rules [FROCOS05] were oriented: none

(9) Obligation:

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

SEL(active(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(10) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(11) Obligation:

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

SEL(active(X1), X2) → SEL(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(12) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


SEL(active(X1), X2) → SEL(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[SEL2, active1]

Status:
active1: [1]
SEL2: [2,1]


The following usable rules [FROCOS05] were oriented: none

(13) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(14) PisEmptyProof (EQUIVALENT transformation)

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

(15) TRUE

(16) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(18) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[TAKE2, mark1]

Status:
TAKE2: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(20) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(21) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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)

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(22) Obligation:

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

TAKE(active(X1), X2) → TAKE(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(23) 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: Lexicographic path order with status [LPO].
Quasi-Precedence:
[TAKE2, active1]

Status:
active1: [1]
TAKE2: [2,1]


The following usable rules [FROCOS05] were oriented: none

(24) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(25) PisEmptyProof (EQUIVALENT transformation)

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

(26) TRUE

(27) Obligation:

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

TAIL(active(X)) → TAIL(X)
TAIL(mark(X)) → TAIL(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(29) Obligation:

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

TAIL(mark(X)) → TAIL(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(31) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(32) PisEmptyProof (EQUIVALENT transformation)

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

(33) TRUE

(34) Obligation:

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

ISPLNATKIND(active(X)) → ISPLNATKIND(X)
ISPLNATKIND(mark(X)) → ISPLNATKIND(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(35) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(36) Obligation:

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

ISPLNATKIND(mark(X)) → ISPLNATKIND(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(37) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(38) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(39) PisEmptyProof (EQUIVALENT transformation)

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

(40) TRUE

(41) Obligation:

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

ISLNATKIND(active(X)) → ISLNATKIND(X)
ISLNATKIND(mark(X)) → ISLNATKIND(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(42) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(43) Obligation:

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

ISLNATKIND(mark(X)) → ISLNATKIND(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(44) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(45) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(46) PisEmptyProof (EQUIVALENT transformation)

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

(47) TRUE

(48) Obligation:

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

ISNATURALKIND(active(X)) → ISNATURALKIND(X)
ISNATURALKIND(mark(X)) → ISNATURALKIND(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(50) Obligation:

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

ISNATURALKIND(mark(X)) → ISNATURALKIND(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(51) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(52) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(53) PisEmptyProof (EQUIVALENT transformation)

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

(54) TRUE

(55) Obligation:

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

AND(X1, mark(X2)) → AND(X1, X2)
AND(mark(X1), X2) → AND(X1, X2)
AND(active(X1), X2) → AND(X1, X2)
AND(X1, active(X2)) → AND(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
AND1: [1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(57) Obligation:

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

AND(mark(X1), X2) → AND(X1, X2)
AND(active(X1), X2) → AND(X1, X2)
AND(X1, active(X2)) → AND(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[AND2, mark1]

Status:
AND2: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(59) Obligation:

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

AND(active(X1), X2) → AND(X1, X2)
AND(X1, active(X2)) → AND(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(61) Obligation:

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

AND(active(X1), X2) → AND(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


AND(active(X1), X2) → AND(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[AND2, active1]

Status:
active1: [1]
AND2: [2,1]


The following usable rules [FROCOS05] were oriented: none

(63) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(64) PisEmptyProof (EQUIVALENT transformation)

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

(65) TRUE

(66) Obligation:

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

U921(active(X)) → U921(X)
U921(mark(X)) → U921(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(67) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(68) Obligation:

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

U921(mark(X)) → U921(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(70) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(71) PisEmptyProof (EQUIVALENT transformation)

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

(72) TRUE

(73) Obligation:

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

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(74) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(75) Obligation:

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

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(76) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U91^12, mark1]

Status:
U91^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(77) Obligation:

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

U911(active(X1), X2) → U911(X1, X2)
U911(X1, active(X2)) → U911(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(78) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(79) Obligation:

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

U911(active(X1), X2) → U911(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(80) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U911(active(X1), X2) → U911(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U91^12, active1]

Status:
active1: [1]
U91^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(81) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(82) PisEmptyProof (EQUIVALENT transformation)

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

(83) TRUE

(84) Obligation:

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

U821(active(X)) → U821(X)
U821(mark(X)) → U821(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(85) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(86) Obligation:

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

U821(mark(X)) → U821(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(87) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(88) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(89) PisEmptyProof (EQUIVALENT transformation)

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

(90) TRUE

(91) Obligation:

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

U811(X1, mark(X2)) → U811(X1, X2)
U811(mark(X1), X2) → U811(X1, X2)
U811(active(X1), X2) → U811(X1, X2)
U811(X1, active(X2)) → U811(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(92) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(93) Obligation:

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

U811(mark(X1), X2) → U811(X1, X2)
U811(active(X1), X2) → U811(X1, X2)
U811(X1, active(X2)) → U811(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(94) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U81^12, mark1]

Status:
U81^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(95) Obligation:

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

U811(active(X1), X2) → U811(X1, X2)
U811(X1, active(X2)) → U811(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(96) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(97) Obligation:

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

U811(active(X1), X2) → U811(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


U811(active(X1), X2) → U811(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U81^12, active1]

Status:
active1: [1]
U81^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(99) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(100) PisEmptyProof (EQUIVALENT transformation)

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

(101) TRUE

(102) Obligation:

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

U721(active(X)) → U721(X)
U721(mark(X)) → U721(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(103) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(104) Obligation:

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

U721(mark(X)) → U721(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(106) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(107) PisEmptyProof (EQUIVALENT transformation)

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

(108) TRUE

(109) Obligation:

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

U711(X1, mark(X2)) → U711(X1, X2)
U711(mark(X1), X2) → U711(X1, X2)
U711(active(X1), X2) → U711(X1, X2)
U711(X1, active(X2)) → U711(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(110) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(111) Obligation:

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

U711(mark(X1), X2) → U711(X1, X2)
U711(active(X1), X2) → U711(X1, X2)
U711(X1, active(X2)) → U711(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(112) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U71^12, mark1]

Status:
U71^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(113) Obligation:

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

U711(active(X1), X2) → U711(X1, X2)
U711(X1, active(X2)) → U711(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(114) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(115) Obligation:

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

U711(active(X1), X2) → U711(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


U711(active(X1), X2) → U711(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U71^12, active1]

Status:
active1: [1]
U71^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(117) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(118) PisEmptyProof (EQUIVALENT transformation)

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

(119) TRUE

(120) Obligation:

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

ISPLNAT(active(X)) → ISPLNAT(X)
ISPLNAT(mark(X)) → ISPLNAT(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(121) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(122) Obligation:

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

ISPLNAT(mark(X)) → ISPLNAT(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(124) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(125) PisEmptyProof (EQUIVALENT transformation)

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

(126) TRUE

(127) Obligation:

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

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(128) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(129) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(130) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(131) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(132) PisEmptyProof (EQUIVALENT transformation)

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

(133) TRUE

(134) Obligation:

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

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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(135) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(136) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(137) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U61^12, mark1]

Status:
U61^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(138) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(139) 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)

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(140) Obligation:

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

U611(active(X1), X2) → U611(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


U611(active(X1), X2) → U611(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U61^12, active1]

Status:
active1: [1]
U61^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(142) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(143) PisEmptyProof (EQUIVALENT transformation)

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

(144) TRUE

(145) Obligation:

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

U531(active(X)) → U531(X)
U531(mark(X)) → U531(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(146) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(147) Obligation:

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

U531(mark(X)) → U531(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(148) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(149) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(150) PisEmptyProof (EQUIVALENT transformation)

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

(151) TRUE

(152) Obligation:

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

U521(X1, mark(X2)) → U521(X1, X2)
U521(mark(X1), X2) → U521(X1, X2)
U521(active(X1), X2) → U521(X1, X2)
U521(X1, active(X2)) → U521(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(153) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(154) Obligation:

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

U521(mark(X1), X2) → U521(X1, X2)
U521(active(X1), X2) → U521(X1, X2)
U521(X1, active(X2)) → U521(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(155) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U52^12, mark1]

Status:
U52^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(156) Obligation:

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

U521(active(X1), X2) → U521(X1, X2)
U521(X1, active(X2)) → U521(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(157) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(158) Obligation:

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

U521(active(X1), X2) → U521(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(159) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U521(active(X1), X2) → U521(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U52^12, active1]

Status:
active1: [1]
U52^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(160) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(161) PisEmptyProof (EQUIVALENT transformation)

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

(162) TRUE

(163) Obligation:

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

U511(X1, mark(X2), X3) → U511(X1, X2, X3)
U511(mark(X1), X2, X3) → U511(X1, X2, X3)
U511(X1, X2, mark(X3)) → U511(X1, X2, X3)
U511(active(X1), X2, X3) → U511(X1, X2, X3)
U511(X1, active(X2), X3) → U511(X1, X2, X3)
U511(X1, X2, active(X3)) → U511(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(164) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(165) Obligation:

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

U511(X1, mark(X2), X3) → U511(X1, X2, X3)
U511(mark(X1), X2, X3) → U511(X1, X2, X3)
U511(active(X1), X2, X3) → U511(X1, X2, X3)
U511(X1, active(X2), X3) → U511(X1, X2, X3)
U511(X1, X2, active(X3)) → U511(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(166) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U51^13, mark1]

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


The following usable rules [FROCOS05] were oriented: none

(167) Obligation:

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

U511(active(X1), X2, X3) → U511(X1, X2, X3)
U511(X1, active(X2), X3) → U511(X1, X2, X3)
U511(X1, X2, active(X3)) → U511(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(168) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U511(active(X1), X2, X3) → U511(X1, X2, X3)
U511(X1, active(X2), X3) → U511(X1, X2, X3)
U511(X1, X2, active(X3)) → U511(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
active1 > U51^13

Status:
U51^13: [3,2,1]
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(169) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(170) PisEmptyProof (EQUIVALENT transformation)

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

(171) TRUE

(172) Obligation:

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

U431(active(X)) → U431(X)
U431(mark(X)) → U431(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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(X)) → U431(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U431(x1)  =  x1
active(x1)  =  active(x1)
mark(x1)  =  x1

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(174) Obligation:

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

U431(mark(X)) → U431(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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(mark(X)) → U431(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U431(x1)  =  x1
mark(x1)  =  mark(x1)

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(176) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(177) PisEmptyProof (EQUIVALENT transformation)

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

(178) TRUE

(179) Obligation:

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

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(180) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(181) Obligation:

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

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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(mark(X1), X2) → U421(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U421(x1, x2)  =  U421(x1, x2)
mark(x1)  =  mark(x1)
active(x1)  =  x1

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U42^12, mark1]

Status:
U42^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(183) Obligation:

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

U421(active(X1), X2) → U421(X1, X2)
U421(X1, active(X2)) → U421(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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, active(X2)) → U421(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U421(x1, x2)  =  x2
active(x1)  =  active(x1)

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(185) Obligation:

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

U421(active(X1), X2) → U421(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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(active(X1), X2) → U421(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U42^12, active1]

Status:
active1: [1]
U42^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(187) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(188) PisEmptyProof (EQUIVALENT transformation)

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

(189) TRUE

(190) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(191) 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

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

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


The following usable rules [FROCOS05] were oriented: none

(192) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(193) 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)
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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U41^13, mark1]

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


The following usable rules [FROCOS05] were oriented: none

(194) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(195) 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)
U411(X1, active(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, active(X3)) → U411(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
active1 > U41^13

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


The following usable rules [FROCOS05] were oriented: none

(196) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(197) PisEmptyProof (EQUIVALENT transformation)

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

(198) TRUE

(199) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(200) 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

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

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


The following usable rules [FROCOS05] were oriented: none

(201) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(202) 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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U31^12, mark1]

Status:
U31^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(203) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(204) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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)

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(205) Obligation:

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

U311(active(X1), X2) → U311(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(206) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U311(active(X1), X2) → U311(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U31^12, active1]

Status:
active1: [1]
U31^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(207) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(208) PisEmptyProof (EQUIVALENT transformation)

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

(209) TRUE

(210) Obligation:

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

FST(active(X)) → FST(X)
FST(mark(X)) → FST(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(211) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(212) Obligation:

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

FST(mark(X)) → FST(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(213) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(214) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(215) PisEmptyProof (EQUIVALENT transformation)

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

(216) TRUE

(217) Obligation:

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

U2211(X1, mark(X2), X3) → U2211(X1, X2, X3)
U2211(mark(X1), X2, X3) → U2211(X1, X2, X3)
U2211(X1, X2, mark(X3)) → U2211(X1, X2, X3)
U2211(active(X1), X2, X3) → U2211(X1, X2, X3)
U2211(X1, active(X2), X3) → U2211(X1, X2, X3)
U2211(X1, X2, active(X3)) → U2211(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(218) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(219) Obligation:

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

U2211(X1, mark(X2), X3) → U2211(X1, X2, X3)
U2211(mark(X1), X2, X3) → U2211(X1, X2, X3)
U2211(active(X1), X2, X3) → U2211(X1, X2, X3)
U2211(X1, active(X2), X3) → U2211(X1, X2, X3)
U2211(X1, X2, active(X3)) → U2211(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(220) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U221^13, mark1]

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


The following usable rules [FROCOS05] were oriented: none

(221) Obligation:

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

U2211(active(X1), X2, X3) → U2211(X1, X2, X3)
U2211(X1, active(X2), X3) → U2211(X1, X2, X3)
U2211(X1, X2, active(X3)) → U2211(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(222) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U2211(active(X1), X2, X3) → U2211(X1, X2, X3)
U2211(X1, active(X2), X3) → U2211(X1, X2, X3)
U2211(X1, X2, active(X3)) → U2211(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
active1 > U221^13

Status:
active1: [1]
U221^13: [3,2,1]


The following usable rules [FROCOS05] were oriented: none

(223) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(224) PisEmptyProof (EQUIVALENT transformation)

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

(225) TRUE

(226) Obligation:

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

U2111(X1, mark(X2)) → U2111(X1, X2)
U2111(mark(X1), X2) → U2111(X1, X2)
U2111(active(X1), X2) → U2111(X1, X2)
U2111(X1, active(X2)) → U2111(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(227) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(228) Obligation:

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

U2111(mark(X1), X2) → U2111(X1, X2)
U2111(active(X1), X2) → U2111(X1, X2)
U2111(X1, active(X2)) → U2111(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(229) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U211^12, mark1]

Status:
mark1: [1]
U211^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(230) Obligation:

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

U2111(active(X1), X2) → U2111(X1, X2)
U2111(X1, active(X2)) → U2111(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(231) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(232) Obligation:

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

U2111(active(X1), X2) → U2111(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(233) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U2111(active(X1), X2) → U2111(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U211^12, active1]

Status:
active1: [1]
U211^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(234) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(235) PisEmptyProof (EQUIVALENT transformation)

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

(236) TRUE

(237) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(238) 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

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

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


The following usable rules [FROCOS05] were oriented: none

(239) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(240) 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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U21^12, mark1]

Status:
U21^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(241) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(242) 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)

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(243) Obligation:

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

U211(active(X1), X2) → U211(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(244) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U211(active(X1), X2) → U211(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U21^12, active1]

Status:
active1: [1]
U21^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(245) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(246) PisEmptyProof (EQUIVALENT transformation)

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

(247) TRUE

(248) Obligation:

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

U2021(X1, mark(X2)) → U2021(X1, X2)
U2021(mark(X1), X2) → U2021(X1, X2)
U2021(active(X1), X2) → U2021(X1, X2)
U2021(X1, active(X2)) → U2021(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(249) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(250) Obligation:

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

U2021(mark(X1), X2) → U2021(X1, X2)
U2021(active(X1), X2) → U2021(X1, X2)
U2021(X1, active(X2)) → U2021(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(251) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U202^12, mark1]

Status:
U202^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(252) Obligation:

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

U2021(active(X1), X2) → U2021(X1, X2)
U2021(X1, active(X2)) → U2021(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(253) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(254) Obligation:

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

U2021(active(X1), X2) → U2021(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(255) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U2021(active(X1), X2) → U2021(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U202^12, active1]

Status:
active1: [1]
U202^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(256) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(257) PisEmptyProof (EQUIVALENT transformation)

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

(258) TRUE

(259) Obligation:

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

U2011(X1, mark(X2), X3, X4) → U2011(X1, X2, X3, X4)
U2011(mark(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, X2, mark(X3), X4) → U2011(X1, X2, X3, X4)
U2011(X1, X2, X3, mark(X4)) → U2011(X1, X2, X3, X4)
U2011(active(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, active(X2), X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, X2, active(X3), X4) → U2011(X1, X2, X3, X4)
U2011(X1, X2, X3, active(X4)) → U2011(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(260) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U201^12, mark1]

Status:
U201^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(261) Obligation:

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

U2011(X1, mark(X2), X3, X4) → U2011(X1, X2, X3, X4)
U2011(mark(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(active(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, active(X2), X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, X2, active(X3), X4) → U2011(X1, X2, X3, X4)
U2011(X1, X2, X3, active(X4)) → U2011(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(262) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
mark > [U201^12, active1]

Status:
U201^12: [2,1]
active1: [1]
mark: []


The following usable rules [FROCOS05] were oriented: none

(263) Obligation:

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

U2011(X1, mark(X2), X3, X4) → U2011(X1, X2, X3, X4)
U2011(mark(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(active(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, active(X2), X3, X4) → U2011(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(264) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U201^12, mark1]

Status:
U201^12: [1,2]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(265) Obligation:

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

U2011(mark(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(active(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(X1, active(X2), X3, X4) → U2011(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(266) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U201^12, mark, active1]

Status:
U201^12: [1,2]
active1: [1]
mark: []


The following usable rules [FROCOS05] were oriented: none

(267) Obligation:

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

U2011(mark(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)
U2011(active(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(268) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(269) Obligation:

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

U2011(active(X1), X2, X3, X4) → U2011(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U201^13, active1]

Status:
active1: [1]
U201^13: [3,1,2]


The following usable rules [FROCOS05] were oriented: none

(271) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(272) PisEmptyProof (EQUIVALENT transformation)

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

(273) TRUE

(274) Obligation:

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

PAIR(X1, mark(X2)) → PAIR(X1, X2)
PAIR(mark(X1), X2) → PAIR(X1, X2)
PAIR(active(X1), X2) → PAIR(X1, X2)
PAIR(X1, active(X2)) → PAIR(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(275) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]
PAIR1: [1]


The following usable rules [FROCOS05] were oriented: none

(276) Obligation:

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

PAIR(mark(X1), X2) → PAIR(X1, X2)
PAIR(active(X1), X2) → PAIR(X1, X2)
PAIR(X1, active(X2)) → PAIR(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(277) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[PAIR2, mark1]

Status:
PAIR2: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(278) Obligation:

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

PAIR(active(X1), X2) → PAIR(X1, X2)
PAIR(X1, active(X2)) → PAIR(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(279) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(280) Obligation:

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

PAIR(active(X1), X2) → PAIR(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


PAIR(active(X1), X2) → PAIR(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[PAIR2, active1]

Status:
active1: [1]
PAIR2: [2,1]


The following usable rules [FROCOS05] were oriented: none

(282) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(283) PisEmptyProof (EQUIVALENT transformation)

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

(284) TRUE

(285) Obligation:

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

U1911(X1, mark(X2)) → U1911(X1, X2)
U1911(mark(X1), X2) → U1911(X1, X2)
U1911(active(X1), X2) → U1911(X1, X2)
U1911(X1, active(X2)) → U1911(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(286) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(287) Obligation:

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

U1911(mark(X1), X2) → U1911(X1, X2)
U1911(active(X1), X2) → U1911(X1, X2)
U1911(X1, active(X2)) → U1911(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(288) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U191^12, mark1]

Status:
U191^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(289) Obligation:

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

U1911(active(X1), X2) → U1911(X1, X2)
U1911(X1, active(X2)) → U1911(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(290) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(291) Obligation:

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

U1911(active(X1), X2) → U1911(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(292) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1911(active(X1), X2) → U1911(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U191^12, active1]

Status:
active1: [1]
U191^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(293) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(294) PisEmptyProof (EQUIVALENT transformation)

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

(295) TRUE

(296) Obligation:

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

U1811(X1, mark(X2)) → U1811(X1, X2)
U1811(mark(X1), X2) → U1811(X1, X2)
U1811(active(X1), X2) → U1811(X1, X2)
U1811(X1, active(X2)) → U1811(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(297) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(298) Obligation:

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

U1811(mark(X1), X2) → U1811(X1, X2)
U1811(active(X1), X2) → U1811(X1, X2)
U1811(X1, active(X2)) → U1811(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(299) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U181^12, mark1]

Status:
U181^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(300) Obligation:

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

U1811(active(X1), X2) → U1811(X1, X2)
U1811(X1, active(X2)) → U1811(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(301) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(302) Obligation:

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

U1811(active(X1), X2) → U1811(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(303) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1811(active(X1), X2) → U1811(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U181^12, active1]

Status:
active1: [1]
U181^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(304) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(305) PisEmptyProof (EQUIVALENT transformation)

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

(306) TRUE

(307) Obligation:

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

AFTERNTH(X1, mark(X2)) → AFTERNTH(X1, X2)
AFTERNTH(mark(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(active(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(X1, active(X2)) → AFTERNTH(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(308) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]
AFTERNTH1: [1]


The following usable rules [FROCOS05] were oriented: none

(309) Obligation:

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

AFTERNTH(mark(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(active(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(X1, active(X2)) → AFTERNTH(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(310) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[AFTERNTH2, mark1]

Status:
mark1: [1]
AFTERNTH2: [2,1]


The following usable rules [FROCOS05] were oriented: none

(311) Obligation:

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

AFTERNTH(active(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(X1, active(X2)) → AFTERNTH(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(312) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(313) Obligation:

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

AFTERNTH(active(X1), X2) → AFTERNTH(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(314) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


AFTERNTH(active(X1), X2) → AFTERNTH(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[AFTERNTH2, active1]

Status:
active1: [1]
AFTERNTH2: [2,1]


The following usable rules [FROCOS05] were oriented: none

(315) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(316) PisEmptyProof (EQUIVALENT transformation)

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

(317) TRUE

(318) Obligation:

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

HEAD(active(X)) → HEAD(X)
HEAD(mark(X)) → HEAD(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(320) Obligation:

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

HEAD(mark(X)) → HEAD(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
mark1: [1]


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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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:

U1711(X1, mark(X2), X3) → U1711(X1, X2, X3)
U1711(mark(X1), X2, X3) → U1711(X1, X2, X3)
U1711(X1, X2, mark(X3)) → U1711(X1, X2, X3)
U1711(active(X1), X2, X3) → U1711(X1, X2, X3)
U1711(X1, active(X2), X3) → U1711(X1, X2, X3)
U1711(X1, X2, active(X3)) → U1711(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(327) Obligation:

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

U1711(X1, mark(X2), X3) → U1711(X1, X2, X3)
U1711(mark(X1), X2, X3) → U1711(X1, X2, X3)
U1711(active(X1), X2, X3) → U1711(X1, X2, X3)
U1711(X1, active(X2), X3) → U1711(X1, X2, X3)
U1711(X1, X2, active(X3)) → U1711(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U171^13, mark1]

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


The following usable rules [FROCOS05] were oriented: none

(329) Obligation:

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

U1711(active(X1), X2, X3) → U1711(X1, X2, X3)
U1711(X1, active(X2), X3) → U1711(X1, X2, X3)
U1711(X1, X2, active(X3)) → U1711(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


U1711(active(X1), X2, X3) → U1711(X1, X2, X3)
U1711(X1, active(X2), X3) → U1711(X1, X2, X3)
U1711(X1, X2, active(X3)) → U1711(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
active1 > U171^13

Status:
active1: [1]
U171^13: [3,2,1]


The following usable rules [FROCOS05] were oriented: none

(331) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(332) PisEmptyProof (EQUIVALENT transformation)

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

(333) TRUE

(334) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(336) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(337) 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: Combined order from the following AFS and order.
S(x1)  =  x1
mark(x1)  =  mark(x1)

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(338) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(339) PisEmptyProof (EQUIVALENT transformation)

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

(340) TRUE

(341) Obligation:

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

NATSFROM(active(X)) → NATSFROM(X)
NATSFROM(mark(X)) → NATSFROM(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(342) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(343) Obligation:

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

NATSFROM(mark(X)) → NATSFROM(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(344) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(345) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(346) PisEmptyProof (EQUIVALENT transformation)

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

(347) TRUE

(348) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(350) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[CONS2, mark1]

Status:
CONS2: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(352) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(353) 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)

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(354) Obligation:

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

CONS(active(X1), X2) → CONS(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(355) 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: Lexicographic path order with status [LPO].
Quasi-Precedence:
[CONS2, active1]

Status:
active1: [1]
CONS2: [2,1]


The following usable rules [FROCOS05] were oriented: none

(356) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(357) PisEmptyProof (EQUIVALENT transformation)

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

(358) TRUE

(359) Obligation:

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

U1611(X1, mark(X2)) → U1611(X1, X2)
U1611(mark(X1), X2) → U1611(X1, X2)
U1611(active(X1), X2) → U1611(X1, X2)
U1611(X1, active(X2)) → U1611(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(361) Obligation:

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

U1611(mark(X1), X2) → U1611(X1, X2)
U1611(active(X1), X2) → U1611(X1, X2)
U1611(X1, active(X2)) → U1611(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U161^12, mark1]

Status:
mark1: [1]
U161^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(363) Obligation:

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

U1611(active(X1), X2) → U1611(X1, X2)
U1611(X1, active(X2)) → U1611(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(365) Obligation:

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

U1611(active(X1), X2) → U1611(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


U1611(active(X1), X2) → U1611(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U161^12, active1]

Status:
active1: [1]
U161^12: [2,1]


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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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:

U1531(active(X)) → U1531(X)
U1531(mark(X)) → U1531(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(372) Obligation:

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

U1531(mark(X)) → U1531(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
mark1: [1]


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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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:

U1521(X1, mark(X2)) → U1521(X1, X2)
U1521(mark(X1), X2) → U1521(X1, X2)
U1521(active(X1), X2) → U1521(X1, X2)
U1521(X1, active(X2)) → U1521(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(379) Obligation:

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

U1521(mark(X1), X2) → U1521(X1, X2)
U1521(active(X1), X2) → U1521(X1, X2)
U1521(X1, active(X2)) → U1521(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U152^12, mark1]

Status:
mark1: [1]
U152^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(381) Obligation:

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

U1521(active(X1), X2) → U1521(X1, X2)
U1521(X1, active(X2)) → U1521(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(383) Obligation:

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

U1521(active(X1), X2) → U1521(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


U1521(active(X1), X2) → U1521(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U152^12, active1]

Status:
active1: [1]
U152^12: [2,1]


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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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:

U1511(X1, mark(X2), X3) → U1511(X1, X2, X3)
U1511(mark(X1), X2, X3) → U1511(X1, X2, X3)
U1511(X1, X2, mark(X3)) → U1511(X1, X2, X3)
U1511(active(X1), X2, X3) → U1511(X1, X2, X3)
U1511(X1, active(X2), X3) → U1511(X1, X2, X3)
U1511(X1, X2, active(X3)) → U1511(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(390) Obligation:

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

U1511(X1, mark(X2), X3) → U1511(X1, X2, X3)
U1511(mark(X1), X2, X3) → U1511(X1, X2, X3)
U1511(active(X1), X2, X3) → U1511(X1, X2, X3)
U1511(X1, active(X2), X3) → U1511(X1, X2, X3)
U1511(X1, X2, active(X3)) → U1511(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U151^13, mark1]

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


The following usable rules [FROCOS05] were oriented: none

(392) Obligation:

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

U1511(active(X1), X2, X3) → U1511(X1, X2, X3)
U1511(X1, active(X2), X3) → U1511(X1, X2, X3)
U1511(X1, X2, active(X3)) → U1511(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(393) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1511(active(X1), X2, X3) → U1511(X1, X2, X3)
U1511(X1, active(X2), X3) → U1511(X1, X2, X3)
U1511(X1, X2, active(X3)) → U1511(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
active1 > U151^13

Status:
active1: [1]
U151^13: [3,2,1]


The following usable rules [FROCOS05] were oriented: none

(394) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(395) PisEmptyProof (EQUIVALENT transformation)

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

(396) TRUE

(397) Obligation:

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

U1431(active(X)) → U1431(X)
U1431(mark(X)) → U1431(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(399) Obligation:

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

U1431(mark(X)) → U1431(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(400) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(401) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(402) PisEmptyProof (EQUIVALENT transformation)

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

(403) TRUE

(404) Obligation:

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

U1421(X1, mark(X2)) → U1421(X1, X2)
U1421(mark(X1), X2) → U1421(X1, X2)
U1421(active(X1), X2) → U1421(X1, X2)
U1421(X1, active(X2)) → U1421(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(406) Obligation:

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

U1421(mark(X1), X2) → U1421(X1, X2)
U1421(active(X1), X2) → U1421(X1, X2)
U1421(X1, active(X2)) → U1421(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(407) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U142^12, mark1]

Status:
mark1: [1]
U142^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(408) Obligation:

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

U1421(active(X1), X2) → U1421(X1, X2)
U1421(X1, active(X2)) → U1421(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(409) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(410) Obligation:

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

U1421(active(X1), X2) → U1421(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(411) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1421(active(X1), X2) → U1421(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U142^12, active1]

Status:
active1: [1]
U142^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(412) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(413) PisEmptyProof (EQUIVALENT transformation)

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

(414) TRUE

(415) Obligation:

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

U1411(X1, mark(X2), X3) → U1411(X1, X2, X3)
U1411(mark(X1), X2, X3) → U1411(X1, X2, X3)
U1411(X1, X2, mark(X3)) → U1411(X1, X2, X3)
U1411(active(X1), X2, X3) → U1411(X1, X2, X3)
U1411(X1, active(X2), X3) → U1411(X1, X2, X3)
U1411(X1, X2, active(X3)) → U1411(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(416) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(417) Obligation:

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

U1411(X1, mark(X2), X3) → U1411(X1, X2, X3)
U1411(mark(X1), X2, X3) → U1411(X1, X2, X3)
U1411(active(X1), X2, X3) → U1411(X1, X2, X3)
U1411(X1, active(X2), X3) → U1411(X1, X2, X3)
U1411(X1, X2, active(X3)) → U1411(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(418) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U141^13, mark1]

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


The following usable rules [FROCOS05] were oriented: none

(419) Obligation:

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

U1411(active(X1), X2, X3) → U1411(X1, X2, X3)
U1411(X1, active(X2), X3) → U1411(X1, X2, X3)
U1411(X1, X2, active(X3)) → U1411(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(420) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1411(active(X1), X2, X3) → U1411(X1, X2, X3)
U1411(X1, active(X2), X3) → U1411(X1, X2, X3)
U1411(X1, X2, active(X3)) → U1411(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
active1 > U141^13

Status:
active1: [1]
U141^13: [3,2,1]


The following usable rules [FROCOS05] were oriented: none

(421) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(422) PisEmptyProof (EQUIVALENT transformation)

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

(423) TRUE

(424) Obligation:

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

U1331(active(X)) → U1331(X)
U1331(mark(X)) → U1331(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(425) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(426) Obligation:

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

U1331(mark(X)) → U1331(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(427) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(428) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(429) PisEmptyProof (EQUIVALENT transformation)

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

(430) TRUE

(431) Obligation:

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

U1321(X1, mark(X2)) → U1321(X1, X2)
U1321(mark(X1), X2) → U1321(X1, X2)
U1321(active(X1), X2) → U1321(X1, X2)
U1321(X1, active(X2)) → U1321(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(433) Obligation:

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

U1321(mark(X1), X2) → U1321(X1, X2)
U1321(active(X1), X2) → U1321(X1, X2)
U1321(X1, active(X2)) → U1321(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U132^12, mark1]

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


The following usable rules [FROCOS05] were oriented: none

(435) Obligation:

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

U1321(active(X1), X2) → U1321(X1, X2)
U1321(X1, active(X2)) → U1321(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(437) Obligation:

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

U1321(active(X1), X2) → U1321(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


U1321(active(X1), X2) → U1321(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U132^12, active1]

Status:
active1: [1]
U132^12: [2,1]


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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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:

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(444) Obligation:

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

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U131^13, mark1]

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


The following usable rules [FROCOS05] were oriented: none

(446) Obligation:

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

U1311(active(X1), X2, X3) → U1311(X1, X2, X3)
U1311(X1, active(X2), X3) → U1311(X1, X2, X3)
U1311(X1, X2, active(X3)) → U1311(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


U1311(active(X1), X2, X3) → U1311(X1, X2, X3)
U1311(X1, active(X2), X3) → U1311(X1, X2, X3)
U1311(X1, X2, active(X3)) → U1311(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
active1 > U131^13

Status:
active1: [1]
U131^13: [3,2,1]


The following usable rules [FROCOS05] were oriented: none

(448) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(449) PisEmptyProof (EQUIVALENT transformation)

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

(450) TRUE

(451) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(453) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(454) 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: Combined order from the following AFS and order.
U1221(x1)  =  x1
mark(x1)  =  mark(x1)

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(455) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(456) PisEmptyProof (EQUIVALENT transformation)

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

(457) TRUE

(458) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(459) 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

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

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


The following usable rules [FROCOS05] were oriented: none

(460) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(461) 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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U121^12, mark1]

Status:
mark1: [1]
U121^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(462) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(463) 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)

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(464) Obligation:

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

U1211(active(X1), X2) → U1211(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(465) 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: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U121^12, active1]

Status:
active1: [1]
U121^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(466) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(467) PisEmptyProof (EQUIVALENT transformation)

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

(468) TRUE

(469) Obligation:

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

U1121(active(X)) → U1121(X)
U1121(mark(X)) → U1121(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(470) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(471) Obligation:

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

U1121(mark(X)) → U1121(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(472) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(473) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(474) PisEmptyProof (EQUIVALENT transformation)

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

(475) TRUE

(476) Obligation:

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

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(478) Obligation:

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

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U111^12, mark1]

Status:
mark1: [1]
U111^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(480) Obligation:

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

U1111(active(X1), X2) → U1111(X1, X2)
U1111(X1, active(X2)) → U1111(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(481) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(482) Obligation:

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

U1111(active(X1), X2) → U1111(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(483) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1111(active(X1), X2) → U1111(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U111^12, active1]

Status:
active1: [1]
U111^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(484) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(485) PisEmptyProof (EQUIVALENT transformation)

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

(486) TRUE

(487) Obligation:

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

SPLITAT(X1, mark(X2)) → SPLITAT(X1, X2)
SPLITAT(mark(X1), X2) → SPLITAT(X1, X2)
SPLITAT(active(X1), X2) → SPLITAT(X1, X2)
SPLITAT(X1, active(X2)) → SPLITAT(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
SPLITAT1: [1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(489) Obligation:

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

SPLITAT(mark(X1), X2) → SPLITAT(X1, X2)
SPLITAT(active(X1), X2) → SPLITAT(X1, X2)
SPLITAT(X1, active(X2)) → SPLITAT(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[SPLITAT2, mark1]

Status:
SPLITAT2: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(491) Obligation:

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

SPLITAT(active(X1), X2) → SPLITAT(X1, X2)
SPLITAT(X1, active(X2)) → SPLITAT(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(492) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(493) Obligation:

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

SPLITAT(active(X1), X2) → SPLITAT(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(494) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


SPLITAT(active(X1), X2) → SPLITAT(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[SPLITAT2, active1]

Status:
active1: [1]
SPLITAT2: [2,1]


The following usable rules [FROCOS05] were oriented: none

(495) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(496) PisEmptyProof (EQUIVALENT transformation)

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

(497) TRUE

(498) Obligation:

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

SND(active(X)) → SND(X)
SND(mark(X)) → SND(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(499) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(500) Obligation:

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

SND(mark(X)) → SND(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(501) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(502) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(503) PisEmptyProof (EQUIVALENT transformation)

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

(504) TRUE

(505) Obligation:

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

U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(506) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(507) Obligation:

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

U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(508) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U11^13, mark1]

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


The following usable rules [FROCOS05] were oriented: none

(509) Obligation:

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

U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(510) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Status:
active1: [1]
U11^13: [3,2,1]


The following usable rules [FROCOS05] were oriented: none

(511) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(512) PisEmptyProof (EQUIVALENT transformation)

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

(513) TRUE

(514) Obligation:

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

ISLNAT(active(X)) → ISLNAT(X)
ISLNAT(mark(X)) → ISLNAT(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(515) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(516) Obligation:

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

ISLNAT(mark(X)) → ISLNAT(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(517) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(518) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(519) PisEmptyProof (EQUIVALENT transformation)

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

(520) TRUE

(521) Obligation:

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

U1031(active(X)) → U1031(X)
U1031(mark(X)) → U1031(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(523) Obligation:

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

U1031(mark(X)) → U1031(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(524) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(525) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(526) PisEmptyProof (EQUIVALENT transformation)

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

(527) TRUE

(528) Obligation:

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

ISNATURAL(active(X)) → ISNATURAL(X)
ISNATURAL(mark(X)) → ISNATURAL(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(530) Obligation:

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

ISNATURAL(mark(X)) → ISNATURAL(X)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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

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

Status:
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(532) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(533) PisEmptyProof (EQUIVALENT transformation)

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

(534) TRUE

(535) Obligation:

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

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(536) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

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


The following usable rules [FROCOS05] were oriented: none

(537) Obligation:

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

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

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(538) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U102^12, mark1]

Status:
U102^12: [2,1]
mark1: [1]


The following usable rules [FROCOS05] were oriented: none

(539) Obligation:

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

U1021(active(X1), X2) → U1021(X1, X2)
U1021(X1, active(X2)) → U1021(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(540) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


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

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

Status:
active1: [1]


The following usable rules [FROCOS05] were oriented: none

(541) Obligation:

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

U1021(active(X1), X2) → U1021(X1, X2)

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


U1021(active(X1), X2) → U1021(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[U102^12, active1]

Status:
active1: [1]
U102^12: [2,1]


The following usable rules [FROCOS05] were oriented: none

(543) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(544) PisEmptyProof (EQUIVALENT transformation)

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

(545) TRUE

(546) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(547) 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

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

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


The following usable rules [FROCOS05] were oriented: none

(548) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


U1011(X1, mark(X2), X3) → U1011(X1, X2, X3)
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

Lexicographic path order with status [LPO].
Quasi-Precedence:
[U101^13, mark1]

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


The following usable rules [FROCOS05] were oriented: none

(550) 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(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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.


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 remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
active1 > U101^13

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


The following usable rules [FROCOS05] were oriented: none

(552) Obligation:

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

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(553) PisEmptyProof (EQUIVALENT transformation)

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

(554) TRUE

(555) Obligation:

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

MARK(U101(X1, X2, X3)) → ACTIVE(U101(mark(X1), X2, X3))
ACTIVE(U101(tt, V1, V2)) → MARK(U102(isNatural(V1), V2))
MARK(U101(X1, X2, X3)) → MARK(X1)
MARK(U102(X1, X2)) → ACTIVE(U102(mark(X1), X2))
ACTIVE(U102(tt, V2)) → MARK(U103(isLNat(V2)))
MARK(U102(X1, X2)) → MARK(X1)
MARK(isNatural(X)) → ACTIVE(isNatural(X))
ACTIVE(U11(tt, N, XS)) → MARK(snd(splitAt(N, XS)))
MARK(U103(X)) → ACTIVE(U103(mark(X)))
ACTIVE(U111(tt, V1)) → MARK(U112(isLNat(V1)))
MARK(U103(X)) → MARK(X)
MARK(isLNat(X)) → ACTIVE(isLNat(X))
ACTIVE(U121(tt, V1)) → MARK(U122(isNatural(V1)))
MARK(U11(X1, X2, X3)) → ACTIVE(U11(mark(X1), X2, X3))
ACTIVE(U131(tt, V1, V2)) → MARK(U132(isNatural(V1), V2))
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(snd(X)) → ACTIVE(snd(mark(X)))
ACTIVE(U132(tt, V2)) → MARK(U133(isLNat(V2)))
MARK(snd(X)) → MARK(X)
MARK(splitAt(X1, X2)) → ACTIVE(splitAt(mark(X1), mark(X2)))
ACTIVE(U141(tt, V1, V2)) → MARK(U142(isLNat(V1), V2))
MARK(splitAt(X1, X2)) → MARK(X1)
MARK(splitAt(X1, X2)) → MARK(X2)
MARK(U111(X1, X2)) → ACTIVE(U111(mark(X1), X2))
ACTIVE(U142(tt, V2)) → MARK(U143(isLNat(V2)))
MARK(U111(X1, X2)) → MARK(X1)
MARK(U112(X)) → ACTIVE(U112(mark(X)))
ACTIVE(U151(tt, V1, V2)) → MARK(U152(isNatural(V1), V2))
MARK(U112(X)) → MARK(X)
MARK(U121(X1, X2)) → ACTIVE(U121(mark(X1), X2))
ACTIVE(U152(tt, V2)) → MARK(U153(isLNat(V2)))
MARK(U121(X1, X2)) → MARK(X1)
MARK(U122(X)) → ACTIVE(U122(mark(X)))
ACTIVE(U161(tt, N)) → MARK(cons(N, natsFrom(s(N))))
MARK(U122(X)) → MARK(X)
MARK(U131(X1, X2, X3)) → ACTIVE(U131(mark(X1), X2, X3))
ACTIVE(U171(tt, N, XS)) → MARK(head(afterNth(N, XS)))
MARK(U131(X1, X2, X3)) → MARK(X1)
MARK(U132(X1, X2)) → ACTIVE(U132(mark(X1), X2))
ACTIVE(U181(tt, Y)) → MARK(Y)
MARK(U132(X1, X2)) → MARK(X1)
MARK(U133(X)) → ACTIVE(U133(mark(X)))
ACTIVE(U191(tt, XS)) → MARK(pair(nil, XS))
MARK(U133(X)) → MARK(X)
MARK(U141(X1, X2, X3)) → ACTIVE(U141(mark(X1), X2, X3))
ACTIVE(U201(tt, N, X, XS)) → MARK(U202(splitAt(N, XS), X))
MARK(U141(X1, X2, X3)) → MARK(X1)
MARK(U142(X1, X2)) → ACTIVE(U142(mark(X1), X2))
ACTIVE(U202(pair(YS, ZS), X)) → MARK(pair(cons(X, YS), ZS))
MARK(U142(X1, X2)) → MARK(X1)
MARK(U143(X)) → ACTIVE(U143(mark(X)))
ACTIVE(U21(tt, X)) → MARK(X)
MARK(U143(X)) → MARK(X)
MARK(U151(X1, X2, X3)) → ACTIVE(U151(mark(X1), X2, X3))
ACTIVE(U211(tt, XS)) → MARK(XS)
MARK(U151(X1, X2, X3)) → MARK(X1)
MARK(U152(X1, X2)) → ACTIVE(U152(mark(X1), X2))
ACTIVE(U221(tt, N, XS)) → MARK(fst(splitAt(N, XS)))
MARK(U152(X1, X2)) → MARK(X1)
MARK(U153(X)) → ACTIVE(U153(mark(X)))
ACTIVE(U31(tt, N)) → MARK(N)
MARK(U153(X)) → MARK(X)
MARK(U161(X1, X2)) → ACTIVE(U161(mark(X1), X2))
ACTIVE(U41(tt, V1, V2)) → MARK(U42(isNatural(V1), V2))
MARK(U161(X1, X2)) → MARK(X1)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
ACTIVE(U42(tt, V2)) → MARK(U43(isLNat(V2)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(natsFrom(X)) → ACTIVE(natsFrom(mark(X)))
ACTIVE(U51(tt, V1, V2)) → MARK(U52(isNatural(V1), V2))
MARK(natsFrom(X)) → MARK(X)
MARK(s(X)) → ACTIVE(s(mark(X)))
ACTIVE(U52(tt, V2)) → MARK(U53(isLNat(V2)))
MARK(s(X)) → MARK(X)
MARK(U171(X1, X2, X3)) → ACTIVE(U171(mark(X1), X2, X3))
ACTIVE(U61(tt, V1)) → MARK(U62(isPLNat(V1)))
MARK(U171(X1, X2, X3)) → MARK(X1)
MARK(head(X)) → ACTIVE(head(mark(X)))
ACTIVE(U71(tt, V1)) → MARK(U72(isNatural(V1)))
MARK(head(X)) → MARK(X)
MARK(afterNth(X1, X2)) → ACTIVE(afterNth(mark(X1), mark(X2)))
ACTIVE(U81(tt, V1)) → MARK(U82(isPLNat(V1)))
MARK(afterNth(X1, X2)) → MARK(X1)
MARK(afterNth(X1, X2)) → MARK(X2)
MARK(U181(X1, X2)) → ACTIVE(U181(mark(X1), X2))
ACTIVE(U91(tt, V1)) → MARK(U92(isLNat(V1)))
MARK(U181(X1, X2)) → MARK(X1)
MARK(U191(X1, X2)) → ACTIVE(U191(mark(X1), X2))
ACTIVE(afterNth(N, XS)) → MARK(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
MARK(U191(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → ACTIVE(pair(mark(X1), mark(X2)))
ACTIVE(and(tt, X)) → MARK(X)
MARK(pair(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → MARK(X2)
MARK(U201(X1, X2, X3, X4)) → ACTIVE(U201(mark(X1), X2, X3, X4))
ACTIVE(fst(pair(X, Y))) → MARK(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
MARK(U201(X1, X2, X3, X4)) → MARK(X1)
MARK(U202(X1, X2)) → ACTIVE(U202(mark(X1), X2))
ACTIVE(head(cons(N, XS))) → MARK(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
MARK(U202(X1, X2)) → MARK(X1)
MARK(U21(X1, X2)) → ACTIVE(U21(mark(X1), X2))
ACTIVE(isLNat(afterNth(V1, V2))) → MARK(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U21(X1, X2)) → MARK(X1)
MARK(U211(X1, X2)) → ACTIVE(U211(mark(X1), X2))
ACTIVE(isLNat(cons(V1, V2))) → MARK(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U211(X1, X2)) → MARK(X1)
MARK(U221(X1, X2, X3)) → ACTIVE(U221(mark(X1), X2, X3))
ACTIVE(isLNat(fst(V1))) → MARK(U61(isPLNatKind(V1), V1))
MARK(U221(X1, X2, X3)) → MARK(X1)
MARK(fst(X)) → ACTIVE(fst(mark(X)))
ACTIVE(isLNat(natsFrom(V1))) → MARK(U71(isNaturalKind(V1), V1))
MARK(fst(X)) → MARK(X)
MARK(U31(X1, X2)) → ACTIVE(U31(mark(X1), X2))
ACTIVE(isLNat(snd(V1))) → MARK(U81(isPLNatKind(V1), V1))
MARK(U31(X1, X2)) → MARK(X1)
MARK(U41(X1, X2, X3)) → ACTIVE(U41(mark(X1), X2, X3))
ACTIVE(isLNat(tail(V1))) → MARK(U91(isLNatKind(V1), V1))
MARK(U41(X1, X2, X3)) → MARK(X1)
MARK(U42(X1, X2)) → ACTIVE(U42(mark(X1), X2))
ACTIVE(isLNat(take(V1, V2))) → MARK(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U42(X1, X2)) → MARK(X1)
MARK(U43(X)) → ACTIVE(U43(mark(X)))
ACTIVE(isLNatKind(afterNth(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U43(X)) → MARK(X)
MARK(U51(X1, X2, X3)) → ACTIVE(U51(mark(X1), X2, X3))
ACTIVE(isLNatKind(cons(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U51(X1, X2, X3)) → MARK(X1)
MARK(U52(X1, X2)) → ACTIVE(U52(mark(X1), X2))
ACTIVE(isLNatKind(fst(V1))) → MARK(isPLNatKind(V1))
MARK(U52(X1, X2)) → MARK(X1)
MARK(U53(X)) → ACTIVE(U53(mark(X)))
ACTIVE(isLNatKind(natsFrom(V1))) → MARK(isNaturalKind(V1))
MARK(U53(X)) → MARK(X)
MARK(U61(X1, X2)) → ACTIVE(U61(mark(X1), X2))
ACTIVE(isLNatKind(snd(V1))) → MARK(isPLNatKind(V1))
MARK(U61(X1, X2)) → MARK(X1)
MARK(U62(X)) → ACTIVE(U62(mark(X)))
ACTIVE(isLNatKind(tail(V1))) → MARK(isLNatKind(V1))
MARK(U62(X)) → MARK(X)
MARK(isPLNat(X)) → ACTIVE(isPLNat(X))
ACTIVE(isLNatKind(take(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U71(X1, X2)) → ACTIVE(U71(mark(X1), X2))
ACTIVE(isNatural(head(V1))) → MARK(U111(isLNatKind(V1), V1))
MARK(U71(X1, X2)) → MARK(X1)
MARK(U72(X)) → ACTIVE(U72(mark(X)))
ACTIVE(isNatural(s(V1))) → MARK(U121(isNaturalKind(V1), V1))
MARK(U72(X)) → MARK(X)
MARK(U81(X1, X2)) → ACTIVE(U81(mark(X1), X2))
ACTIVE(isNatural(sel(V1, V2))) → MARK(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U81(X1, X2)) → MARK(X1)
MARK(U82(X)) → ACTIVE(U82(mark(X)))
ACTIVE(isNaturalKind(head(V1))) → MARK(isLNatKind(V1))
MARK(U82(X)) → MARK(X)
MARK(U91(X1, X2)) → ACTIVE(U91(mark(X1), X2))
ACTIVE(isNaturalKind(s(V1))) → MARK(isNaturalKind(V1))
MARK(U91(X1, X2)) → MARK(X1)
MARK(U92(X)) → ACTIVE(U92(mark(X)))
ACTIVE(isNaturalKind(sel(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U92(X)) → MARK(X)
MARK(and(X1, X2)) → ACTIVE(and(mark(X1), X2))
ACTIVE(isPLNat(pair(V1, V2))) → MARK(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
MARK(and(X1, X2)) → MARK(X1)
MARK(isNaturalKind(X)) → ACTIVE(isNaturalKind(X))
ACTIVE(isPLNat(splitAt(V1, V2))) → MARK(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(isLNatKind(X)) → ACTIVE(isLNatKind(X))
ACTIVE(isPLNatKind(pair(V1, V2))) → MARK(and(isLNatKind(V1), isLNatKind(V2)))
MARK(isPLNatKind(X)) → ACTIVE(isPLNatKind(X))
ACTIVE(isPLNatKind(splitAt(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(tail(X)) → ACTIVE(tail(mark(X)))
ACTIVE(natsFrom(N)) → MARK(U161(and(isNatural(N), isNaturalKind(N)), N))
MARK(tail(X)) → MARK(X)
MARK(take(X1, X2)) → ACTIVE(take(mark(X1), mark(X2)))
ACTIVE(sel(N, XS)) → MARK(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
MARK(take(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
ACTIVE(snd(pair(X, Y))) → MARK(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(X2)
ACTIVE(splitAt(0, XS)) → MARK(U191(and(isLNat(XS), isLNatKind(XS)), XS))
ACTIVE(splitAt(s(N), cons(X, XS))) → MARK(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
ACTIVE(tail(cons(N, XS))) → MARK(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
ACTIVE(take(N, XS)) → MARK(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(556) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U103(X)) → ACTIVE(U103(mark(X)))
MARK(U112(X)) → ACTIVE(U112(mark(X)))
MARK(U133(X)) → ACTIVE(U133(mark(X)))
MARK(U53(X)) → ACTIVE(U53(mark(X)))
MARK(U62(X)) → ACTIVE(U62(mark(X)))
MARK(U92(X)) → ACTIVE(U92(mark(X)))
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
MARK(x1)  =  MARK
U101(x1, x2, x3)  =  U101
ACTIVE(x1)  =  x1
mark(x1)  =  x1
tt  =  tt
U102(x1, x2)  =  U102
isNatural(x1)  =  isNatural
U103(x1)  =  U103
isLNat(x1)  =  isLNat
U11(x1, x2, x3)  =  U11
snd(x1)  =  snd
splitAt(x1, x2)  =  splitAt
U111(x1, x2)  =  U111
U112(x1)  =  U112
U121(x1, x2)  =  U121
U122(x1)  =  U122
U131(x1, x2, x3)  =  U131
U132(x1, x2)  =  U132
U133(x1)  =  U133
U141(x1, x2, x3)  =  U141
U142(x1, x2)  =  U142
U143(x1)  =  U143
U151(x1, x2, x3)  =  U151
U152(x1, x2)  =  U152
U153(x1)  =  U153
U161(x1, x2)  =  U161
cons(x1, x2)  =  cons
natsFrom(x1)  =  natsFrom
s(x1)  =  s
U171(x1, x2, x3)  =  U171
head(x1)  =  head
afterNth(x1, x2)  =  afterNth
U181(x1, x2)  =  U181
U191(x1, x2)  =  U191
pair(x1, x2)  =  pair
nil  =  nil
U201(x1, x2, x3, x4)  =  U201
U202(x1, x2)  =  U202
U21(x1, x2)  =  U21
U211(x1, x2)  =  U211
U221(x1, x2, x3)  =  U221
fst(x1)  =  fst
U31(x1, x2)  =  U31
U41(x1, x2, x3)  =  U41
U42(x1, x2)  =  U42
U43(x1)  =  U43
U51(x1, x2, x3)  =  U51
U52(x1, x2)  =  U52
U53(x1)  =  U53
U61(x1, x2)  =  U61
U62(x1)  =  U62
isPLNat(x1)  =  isPLNat
U71(x1, x2)  =  U71
U72(x1)  =  U72
U81(x1, x2)  =  U81
U82(x1)  =  U82
U91(x1, x2)  =  U91
U92(x1)  =  U92
and(x1, x2)  =  and
isNaturalKind(x1)  =  isNaturalKind
isLNatKind(x1)  =  isLNatKind
isPLNatKind(x1)  =  isPLNatKind
tail(x1)  =  tail
take(x1, x2)  =  take
sel(x1, x2)  =  sel
0  =  0
active(x1)  =  active(x1)

Lexicographic path order with status [LPO].
Quasi-Precedence:
[tt, active1] > [MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U122, U131, U132, U141, U142, U143, U151, U152, U153, U161, cons, natsFrom, s, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U61, isPLNat, U71, U72, U81, U82, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U103 > [U53, U62]
[tt, active1] > [MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U122, U131, U132, U141, U142, U143, U151, U152, U153, U161, cons, natsFrom, s, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U61, isPLNat, U71, U72, U81, U82, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U112 > [U53, U62]
[tt, active1] > [MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U122, U131, U132, U141, U142, U143, U151, U152, U153, U161, cons, natsFrom, s, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U61, isPLNat, U71, U72, U81, U82, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U133 > [U53, U62]
[tt, active1] > [MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U122, U131, U132, U141, U142, U143, U151, U152, U153, U161, cons, natsFrom, s, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U61, isPLNat, U71, U72, U81, U82, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U92 > [U53, U62]
[tt, active1] > nil > [U53, U62]
0 > [U53, U62]

Status:
U141: []
isNaturalKind: []
U92: []
U31: []
U42: []
U152: []
U11: []
natsFrom: []
afterNth: []
active1: [1]
tt: []
cons: []
U121: []
U41: []
and: []
U81: []
isPLNatKind: []
nil: []
U122: []
MARK: []
U51: []
isPLNat: []
fst: []
U181: []
snd: []
U142: []
tail: []
U151: []
pair: []
isNatural: []
U133: []
U112: []
U211: []
U111: []
U143: []
isLNatKind: []
U61: []
U72: []
U82: []
head: []
U153: []
U171: []
U161: []
U43: []
U21: []
sel: []
U62: []
U201: []
U91: []
U52: []
U53: []
isLNat: []
U132: []
U202: []
s: []
U131: []
U71: []
0: []
take: []
U191: []
U103: []
splitAt: []
U102: []
U101: []
U221: []


The following usable rules [FROCOS05] were oriented:

isLNatKind(active(X)) → isLNatKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
sel(X1, mark(X2)) → sel(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(X1, mark(X2)) → take(X1, X2)
take(mark(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
U82(active(X)) → U82(X)
U82(mark(X)) → U82(X)
U72(active(X)) → U72(X)
U72(mark(X)) → U72(X)
U81(X1, mark(X2)) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U81(mark(X1), X2) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U92(active(X)) → U92(X)
U92(mark(X)) → U92(X)
and(X1, mark(X2)) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
and(mark(X1), X2) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U53(active(X)) → U53(X)
U53(mark(X)) → U53(X)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
isPLNat(active(X)) → isPLNat(X)
isPLNat(mark(X)) → isPLNat(X)
U62(active(X)) → U62(X)
U62(mark(X)) → U62(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U43(active(X)) → U43(X)
U43(mark(X)) → U43(X)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(mark(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U202(X1, active(X2)) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(mark(X1), X2) → U202(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U211(X1, active(X2)) → U211(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)
U211(X1, mark(X2)) → U211(X1, X2)
U211(active(X1), X2) → U211(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U142(X1, mark(X2)) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(mark(X1), X2) → U142(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(mark(X1), X2) → U152(X1, X2)
U153(active(X)) → U153(X)
U153(mark(X)) → U153(X)
head(active(X)) → head(X)
head(mark(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
natsFrom(active(X)) → natsFrom(X)
natsFrom(mark(X)) → natsFrom(X)
s(active(X)) → s(X)
s(mark(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
pair(X1, active(X2)) → pair(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U181(mark(X1), X2) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
isLNat(active(X)) → isLNat(X)
isLNat(mark(X)) → isLNat(X)
U103(active(X)) → U103(X)
U103(mark(X)) → U103(X)
isNatural(active(X)) → isNatural(X)
isNatural(mark(X)) → isNatural(X)
U102(X1, active(X2)) → U102(X1, X2)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U111(X1, active(X2)) → U111(X1, X2)
U111(mark(X1), X2) → U111(X1, X2)
U111(X1, mark(X2)) → U111(X1, X2)
U111(active(X1), X2) → U111(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
snd(active(X)) → snd(X)
snd(mark(X)) → snd(X)
U133(active(X)) → U133(X)
U133(mark(X)) → U133(X)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U132(mark(X1), X2) → U132(X1, X2)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U122(active(X)) → U122(X)
U122(mark(X)) → U122(X)

(557) Obligation:

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

MARK(U101(X1, X2, X3)) → ACTIVE(U101(mark(X1), X2, X3))
ACTIVE(U101(tt, V1, V2)) → MARK(U102(isNatural(V1), V2))
MARK(U101(X1, X2, X3)) → MARK(X1)
MARK(U102(X1, X2)) → ACTIVE(U102(mark(X1), X2))
ACTIVE(U102(tt, V2)) → MARK(U103(isLNat(V2)))
MARK(U102(X1, X2)) → MARK(X1)
MARK(isNatural(X)) → ACTIVE(isNatural(X))
ACTIVE(U11(tt, N, XS)) → MARK(snd(splitAt(N, XS)))
ACTIVE(U111(tt, V1)) → MARK(U112(isLNat(V1)))
MARK(U103(X)) → MARK(X)
MARK(isLNat(X)) → ACTIVE(isLNat(X))
ACTIVE(U121(tt, V1)) → MARK(U122(isNatural(V1)))
MARK(U11(X1, X2, X3)) → ACTIVE(U11(mark(X1), X2, X3))
ACTIVE(U131(tt, V1, V2)) → MARK(U132(isNatural(V1), V2))
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(snd(X)) → ACTIVE(snd(mark(X)))
ACTIVE(U132(tt, V2)) → MARK(U133(isLNat(V2)))
MARK(snd(X)) → MARK(X)
MARK(splitAt(X1, X2)) → ACTIVE(splitAt(mark(X1), mark(X2)))
ACTIVE(U141(tt, V1, V2)) → MARK(U142(isLNat(V1), V2))
MARK(splitAt(X1, X2)) → MARK(X1)
MARK(splitAt(X1, X2)) → MARK(X2)
MARK(U111(X1, X2)) → ACTIVE(U111(mark(X1), X2))
ACTIVE(U142(tt, V2)) → MARK(U143(isLNat(V2)))
MARK(U111(X1, X2)) → MARK(X1)
ACTIVE(U151(tt, V1, V2)) → MARK(U152(isNatural(V1), V2))
MARK(U112(X)) → MARK(X)
MARK(U121(X1, X2)) → ACTIVE(U121(mark(X1), X2))
ACTIVE(U152(tt, V2)) → MARK(U153(isLNat(V2)))
MARK(U121(X1, X2)) → MARK(X1)
MARK(U122(X)) → ACTIVE(U122(mark(X)))
ACTIVE(U161(tt, N)) → MARK(cons(N, natsFrom(s(N))))
MARK(U122(X)) → MARK(X)
MARK(U131(X1, X2, X3)) → ACTIVE(U131(mark(X1), X2, X3))
ACTIVE(U171(tt, N, XS)) → MARK(head(afterNth(N, XS)))
MARK(U131(X1, X2, X3)) → MARK(X1)
MARK(U132(X1, X2)) → ACTIVE(U132(mark(X1), X2))
ACTIVE(U181(tt, Y)) → MARK(Y)
MARK(U132(X1, X2)) → MARK(X1)
ACTIVE(U191(tt, XS)) → MARK(pair(nil, XS))
MARK(U133(X)) → MARK(X)
MARK(U141(X1, X2, X3)) → ACTIVE(U141(mark(X1), X2, X3))
ACTIVE(U201(tt, N, X, XS)) → MARK(U202(splitAt(N, XS), X))
MARK(U141(X1, X2, X3)) → MARK(X1)
MARK(U142(X1, X2)) → ACTIVE(U142(mark(X1), X2))
ACTIVE(U202(pair(YS, ZS), X)) → MARK(pair(cons(X, YS), ZS))
MARK(U142(X1, X2)) → MARK(X1)
MARK(U143(X)) → ACTIVE(U143(mark(X)))
ACTIVE(U21(tt, X)) → MARK(X)
MARK(U143(X)) → MARK(X)
MARK(U151(X1, X2, X3)) → ACTIVE(U151(mark(X1), X2, X3))
ACTIVE(U211(tt, XS)) → MARK(XS)
MARK(U151(X1, X2, X3)) → MARK(X1)
MARK(U152(X1, X2)) → ACTIVE(U152(mark(X1), X2))
ACTIVE(U221(tt, N, XS)) → MARK(fst(splitAt(N, XS)))
MARK(U152(X1, X2)) → MARK(X1)
MARK(U153(X)) → ACTIVE(U153(mark(X)))
ACTIVE(U31(tt, N)) → MARK(N)
MARK(U153(X)) → MARK(X)
MARK(U161(X1, X2)) → ACTIVE(U161(mark(X1), X2))
ACTIVE(U41(tt, V1, V2)) → MARK(U42(isNatural(V1), V2))
MARK(U161(X1, X2)) → MARK(X1)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
ACTIVE(U42(tt, V2)) → MARK(U43(isLNat(V2)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(natsFrom(X)) → ACTIVE(natsFrom(mark(X)))
ACTIVE(U51(tt, V1, V2)) → MARK(U52(isNatural(V1), V2))
MARK(natsFrom(X)) → MARK(X)
MARK(s(X)) → ACTIVE(s(mark(X)))
ACTIVE(U52(tt, V2)) → MARK(U53(isLNat(V2)))
MARK(s(X)) → MARK(X)
MARK(U171(X1, X2, X3)) → ACTIVE(U171(mark(X1), X2, X3))
ACTIVE(U61(tt, V1)) → MARK(U62(isPLNat(V1)))
MARK(U171(X1, X2, X3)) → MARK(X1)
MARK(head(X)) → ACTIVE(head(mark(X)))
ACTIVE(U71(tt, V1)) → MARK(U72(isNatural(V1)))
MARK(head(X)) → MARK(X)
MARK(afterNth(X1, X2)) → ACTIVE(afterNth(mark(X1), mark(X2)))
ACTIVE(U81(tt, V1)) → MARK(U82(isPLNat(V1)))
MARK(afterNth(X1, X2)) → MARK(X1)
MARK(afterNth(X1, X2)) → MARK(X2)
MARK(U181(X1, X2)) → ACTIVE(U181(mark(X1), X2))
ACTIVE(U91(tt, V1)) → MARK(U92(isLNat(V1)))
MARK(U181(X1, X2)) → MARK(X1)
MARK(U191(X1, X2)) → ACTIVE(U191(mark(X1), X2))
ACTIVE(afterNth(N, XS)) → MARK(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
MARK(U191(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → ACTIVE(pair(mark(X1), mark(X2)))
ACTIVE(and(tt, X)) → MARK(X)
MARK(pair(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → MARK(X2)
MARK(U201(X1, X2, X3, X4)) → ACTIVE(U201(mark(X1), X2, X3, X4))
ACTIVE(fst(pair(X, Y))) → MARK(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
MARK(U201(X1, X2, X3, X4)) → MARK(X1)
MARK(U202(X1, X2)) → ACTIVE(U202(mark(X1), X2))
ACTIVE(head(cons(N, XS))) → MARK(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
MARK(U202(X1, X2)) → MARK(X1)
MARK(U21(X1, X2)) → ACTIVE(U21(mark(X1), X2))
ACTIVE(isLNat(afterNth(V1, V2))) → MARK(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U21(X1, X2)) → MARK(X1)
MARK(U211(X1, X2)) → ACTIVE(U211(mark(X1), X2))
ACTIVE(isLNat(cons(V1, V2))) → MARK(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U211(X1, X2)) → MARK(X1)
MARK(U221(X1, X2, X3)) → ACTIVE(U221(mark(X1), X2, X3))
ACTIVE(isLNat(fst(V1))) → MARK(U61(isPLNatKind(V1), V1))
MARK(U221(X1, X2, X3)) → MARK(X1)
MARK(fst(X)) → ACTIVE(fst(mark(X)))
ACTIVE(isLNat(natsFrom(V1))) → MARK(U71(isNaturalKind(V1), V1))
MARK(fst(X)) → MARK(X)
MARK(U31(X1, X2)) → ACTIVE(U31(mark(X1), X2))
ACTIVE(isLNat(snd(V1))) → MARK(U81(isPLNatKind(V1), V1))
MARK(U31(X1, X2)) → MARK(X1)
MARK(U41(X1, X2, X3)) → ACTIVE(U41(mark(X1), X2, X3))
ACTIVE(isLNat(tail(V1))) → MARK(U91(isLNatKind(V1), V1))
MARK(U41(X1, X2, X3)) → MARK(X1)
MARK(U42(X1, X2)) → ACTIVE(U42(mark(X1), X2))
ACTIVE(isLNat(take(V1, V2))) → MARK(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U42(X1, X2)) → MARK(X1)
MARK(U43(X)) → ACTIVE(U43(mark(X)))
ACTIVE(isLNatKind(afterNth(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U43(X)) → MARK(X)
MARK(U51(X1, X2, X3)) → ACTIVE(U51(mark(X1), X2, X3))
ACTIVE(isLNatKind(cons(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U51(X1, X2, X3)) → MARK(X1)
MARK(U52(X1, X2)) → ACTIVE(U52(mark(X1), X2))
ACTIVE(isLNatKind(fst(V1))) → MARK(isPLNatKind(V1))
MARK(U52(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(natsFrom(V1))) → MARK(isNaturalKind(V1))
MARK(U53(X)) → MARK(X)
MARK(U61(X1, X2)) → ACTIVE(U61(mark(X1), X2))
ACTIVE(isLNatKind(snd(V1))) → MARK(isPLNatKind(V1))
MARK(U61(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(tail(V1))) → MARK(isLNatKind(V1))
MARK(U62(X)) → MARK(X)
MARK(isPLNat(X)) → ACTIVE(isPLNat(X))
ACTIVE(isLNatKind(take(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U71(X1, X2)) → ACTIVE(U71(mark(X1), X2))
ACTIVE(isNatural(head(V1))) → MARK(U111(isLNatKind(V1), V1))
MARK(U71(X1, X2)) → MARK(X1)
MARK(U72(X)) → ACTIVE(U72(mark(X)))
ACTIVE(isNatural(s(V1))) → MARK(U121(isNaturalKind(V1), V1))
MARK(U72(X)) → MARK(X)
MARK(U81(X1, X2)) → ACTIVE(U81(mark(X1), X2))
ACTIVE(isNatural(sel(V1, V2))) → MARK(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U81(X1, X2)) → MARK(X1)
MARK(U82(X)) → ACTIVE(U82(mark(X)))
ACTIVE(isNaturalKind(head(V1))) → MARK(isLNatKind(V1))
MARK(U82(X)) → MARK(X)
MARK(U91(X1, X2)) → ACTIVE(U91(mark(X1), X2))
ACTIVE(isNaturalKind(s(V1))) → MARK(isNaturalKind(V1))
MARK(U91(X1, X2)) → MARK(X1)
ACTIVE(isNaturalKind(sel(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U92(X)) → MARK(X)
MARK(and(X1, X2)) → ACTIVE(and(mark(X1), X2))
ACTIVE(isPLNat(pair(V1, V2))) → MARK(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
MARK(and(X1, X2)) → MARK(X1)
MARK(isNaturalKind(X)) → ACTIVE(isNaturalKind(X))
ACTIVE(isPLNat(splitAt(V1, V2))) → MARK(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(isLNatKind(X)) → ACTIVE(isLNatKind(X))
ACTIVE(isPLNatKind(pair(V1, V2))) → MARK(and(isLNatKind(V1), isLNatKind(V2)))
MARK(isPLNatKind(X)) → ACTIVE(isPLNatKind(X))
ACTIVE(isPLNatKind(splitAt(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(tail(X)) → ACTIVE(tail(mark(X)))
ACTIVE(natsFrom(N)) → MARK(U161(and(isNatural(N), isNaturalKind(N)), N))
MARK(tail(X)) → MARK(X)
MARK(take(X1, X2)) → ACTIVE(take(mark(X1), mark(X2)))
ACTIVE(sel(N, XS)) → MARK(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
MARK(take(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
ACTIVE(snd(pair(X, Y))) → MARK(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(X2)
ACTIVE(splitAt(0, XS)) → MARK(U191(and(isLNat(XS), isLNatKind(XS)), XS))
ACTIVE(splitAt(s(N), cons(X, XS))) → MARK(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
ACTIVE(tail(cons(N, XS))) → MARK(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
ACTIVE(take(N, XS)) → MARK(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(558) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U43(X)) → ACTIVE(U43(mark(X)))
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
MARK(x1)  =  MARK
U101(x1, x2, x3)  =  U101
ACTIVE(x1)  =  x1
mark(x1)  =  mark
tt  =  tt
U102(x1, x2)  =  U102
isNatural(x1)  =  isNatural
U103(x1)  =  x1
isLNat(x1)  =  isLNat
U11(x1, x2, x3)  =  U11
snd(x1)  =  snd
splitAt(x1, x2)  =  splitAt
U111(x1, x2)  =  U111
U112(x1)  =  U112
U121(x1, x2)  =  U121
U122(x1)  =  U122
U131(x1, x2, x3)  =  U131
U132(x1, x2)  =  U132
U133(x1)  =  x1
U141(x1, x2, x3)  =  U141
U142(x1, x2)  =  U142
U143(x1)  =  U143
U151(x1, x2, x3)  =  U151
U152(x1, x2)  =  U152
U153(x1)  =  U153
U161(x1, x2)  =  U161
cons(x1, x2)  =  cons
natsFrom(x1)  =  natsFrom
s(x1)  =  s
U171(x1, x2, x3)  =  U171
head(x1)  =  head
afterNth(x1, x2)  =  afterNth
U181(x1, x2)  =  U181
U191(x1, x2)  =  U191
pair(x1, x2)  =  pair
nil  =  nil
U201(x1, x2, x3, x4)  =  U201
U202(x1, x2)  =  U202
U21(x1, x2)  =  U21
U211(x1, x2)  =  U211
U221(x1, x2, x3)  =  U221
fst(x1)  =  fst
U31(x1, x2)  =  U31
U41(x1, x2, x3)  =  U41
U42(x1, x2)  =  U42
U43(x1)  =  U43
U51(x1, x2, x3)  =  U51
U52(x1, x2)  =  U52
U53(x1)  =  U53
U61(x1, x2)  =  U61
U62(x1)  =  U62
isPLNat(x1)  =  isPLNat
U71(x1, x2)  =  U71
U72(x1)  =  U72
U81(x1, x2)  =  U81
U82(x1)  =  U82
U91(x1, x2)  =  U91
U92(x1)  =  x1
and(x1, x2)  =  and
isNaturalKind(x1)  =  isNaturalKind
isLNatKind(x1)  =  isLNatKind
isPLNatKind(x1)  =  isPLNatKind
tail(x1)  =  tail
take(x1, x2)  =  take
sel(x1, x2)  =  sel
0  =  0
active(x1)  =  x1

Lexicographic path order with status [LPO].
Quasi-Precedence:
U112 > tt > nil > mark > 0 > [MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U122, U131, U132, U141, U142, U143, U151, U152, U153, U161, cons, natsFrom, s, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U72, U81, U82, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U43
U112 > tt > nil > mark > 0 > [MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U122, U131, U132, U141, U142, U143, U151, U152, U153, U161, cons, natsFrom, s, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U72, U81, U82, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U62
U53 > tt > nil > mark > 0 > [MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U122, U131, U132, U141, U142, U143, U151, U152, U153, U161, cons, natsFrom, s, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U72, U81, U82, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U43
U53 > tt > nil > mark > 0 > [MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U122, U131, U132, U141, U142, U143, U151, U152, U153, U161, cons, natsFrom, s, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U72, U81, U82, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U62

Status:
U141: []
isNaturalKind: []
U31: []
U42: []
U152: []
U11: []
afterNth: []
natsFrom: []
cons: []
tt: []
U121: []
U41: []
and: []
U81: []
isPLNatKind: []
nil: []
U122: []
isPLNat: []
U51: []
MARK: []
fst: []
U181: []
snd: []
U142: []
tail: []
U151: []
mark: []
pair: []
isNatural: []
U112: []
U211: []
U111: []
U143: []
isLNatKind: []
U61: []
U72: []
U82: []
head: []
U153: []
U171: []
U161: []
U43: []
U21: []
sel: []
U62: []
U201: []
U91: []
U53: []
U52: []
U202: []
U132: []
isLNat: []
s: []
U131: []
U71: []
0: []
take: []
U191: []
splitAt: []
U102: []
U101: []
U221: []


The following usable rules [FROCOS05] were oriented:

isLNatKind(active(X)) → isLNatKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
sel(X1, mark(X2)) → sel(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(X1, mark(X2)) → take(X1, X2)
take(mark(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
U82(active(X)) → U82(X)
U82(mark(X)) → U82(X)
U72(active(X)) → U72(X)
U72(mark(X)) → U72(X)
U81(X1, mark(X2)) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U81(mark(X1), X2) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
and(mark(X1), X2) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
isPLNat(active(X)) → isPLNat(X)
isPLNat(mark(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U43(active(X)) → U43(X)
U43(mark(X)) → U43(X)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(mark(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U202(X1, active(X2)) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(mark(X1), X2) → U202(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U211(X1, active(X2)) → U211(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)
U211(X1, mark(X2)) → U211(X1, X2)
U211(active(X1), X2) → U211(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U142(X1, mark(X2)) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(mark(X1), X2) → U142(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(mark(X1), X2) → U152(X1, X2)
U153(active(X)) → U153(X)
U153(mark(X)) → U153(X)
head(active(X)) → head(X)
head(mark(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
natsFrom(active(X)) → natsFrom(X)
natsFrom(mark(X)) → natsFrom(X)
s(active(X)) → s(X)
s(mark(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
pair(X1, active(X2)) → pair(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U181(mark(X1), X2) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
isLNat(active(X)) → isLNat(X)
isLNat(mark(X)) → isLNat(X)
isNatural(active(X)) → isNatural(X)
isNatural(mark(X)) → isNatural(X)
U102(X1, active(X2)) → U102(X1, X2)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U111(X1, active(X2)) → U111(X1, X2)
U111(mark(X1), X2) → U111(X1, X2)
U111(X1, mark(X2)) → U111(X1, X2)
U111(active(X1), X2) → U111(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
snd(active(X)) → snd(X)
snd(mark(X)) → snd(X)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U132(mark(X1), X2) → U132(X1, X2)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U122(active(X)) → U122(X)
U122(mark(X)) → U122(X)

(559) Obligation:

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

MARK(U101(X1, X2, X3)) → ACTIVE(U101(mark(X1), X2, X3))
ACTIVE(U101(tt, V1, V2)) → MARK(U102(isNatural(V1), V2))
MARK(U101(X1, X2, X3)) → MARK(X1)
MARK(U102(X1, X2)) → ACTIVE(U102(mark(X1), X2))
ACTIVE(U102(tt, V2)) → MARK(U103(isLNat(V2)))
MARK(U102(X1, X2)) → MARK(X1)
MARK(isNatural(X)) → ACTIVE(isNatural(X))
ACTIVE(U11(tt, N, XS)) → MARK(snd(splitAt(N, XS)))
ACTIVE(U111(tt, V1)) → MARK(U112(isLNat(V1)))
MARK(U103(X)) → MARK(X)
MARK(isLNat(X)) → ACTIVE(isLNat(X))
ACTIVE(U121(tt, V1)) → MARK(U122(isNatural(V1)))
MARK(U11(X1, X2, X3)) → ACTIVE(U11(mark(X1), X2, X3))
ACTIVE(U131(tt, V1, V2)) → MARK(U132(isNatural(V1), V2))
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(snd(X)) → ACTIVE(snd(mark(X)))
ACTIVE(U132(tt, V2)) → MARK(U133(isLNat(V2)))
MARK(snd(X)) → MARK(X)
MARK(splitAt(X1, X2)) → ACTIVE(splitAt(mark(X1), mark(X2)))
ACTIVE(U141(tt, V1, V2)) → MARK(U142(isLNat(V1), V2))
MARK(splitAt(X1, X2)) → MARK(X1)
MARK(splitAt(X1, X2)) → MARK(X2)
MARK(U111(X1, X2)) → ACTIVE(U111(mark(X1), X2))
ACTIVE(U142(tt, V2)) → MARK(U143(isLNat(V2)))
MARK(U111(X1, X2)) → MARK(X1)
ACTIVE(U151(tt, V1, V2)) → MARK(U152(isNatural(V1), V2))
MARK(U112(X)) → MARK(X)
MARK(U121(X1, X2)) → ACTIVE(U121(mark(X1), X2))
ACTIVE(U152(tt, V2)) → MARK(U153(isLNat(V2)))
MARK(U121(X1, X2)) → MARK(X1)
MARK(U122(X)) → ACTIVE(U122(mark(X)))
ACTIVE(U161(tt, N)) → MARK(cons(N, natsFrom(s(N))))
MARK(U122(X)) → MARK(X)
MARK(U131(X1, X2, X3)) → ACTIVE(U131(mark(X1), X2, X3))
ACTIVE(U171(tt, N, XS)) → MARK(head(afterNth(N, XS)))
MARK(U131(X1, X2, X3)) → MARK(X1)
MARK(U132(X1, X2)) → ACTIVE(U132(mark(X1), X2))
ACTIVE(U181(tt, Y)) → MARK(Y)
MARK(U132(X1, X2)) → MARK(X1)
ACTIVE(U191(tt, XS)) → MARK(pair(nil, XS))
MARK(U133(X)) → MARK(X)
MARK(U141(X1, X2, X3)) → ACTIVE(U141(mark(X1), X2, X3))
ACTIVE(U201(tt, N, X, XS)) → MARK(U202(splitAt(N, XS), X))
MARK(U141(X1, X2, X3)) → MARK(X1)
MARK(U142(X1, X2)) → ACTIVE(U142(mark(X1), X2))
ACTIVE(U202(pair(YS, ZS), X)) → MARK(pair(cons(X, YS), ZS))
MARK(U142(X1, X2)) → MARK(X1)
MARK(U143(X)) → ACTIVE(U143(mark(X)))
ACTIVE(U21(tt, X)) → MARK(X)
MARK(U143(X)) → MARK(X)
MARK(U151(X1, X2, X3)) → ACTIVE(U151(mark(X1), X2, X3))
ACTIVE(U211(tt, XS)) → MARK(XS)
MARK(U151(X1, X2, X3)) → MARK(X1)
MARK(U152(X1, X2)) → ACTIVE(U152(mark(X1), X2))
ACTIVE(U221(tt, N, XS)) → MARK(fst(splitAt(N, XS)))
MARK(U152(X1, X2)) → MARK(X1)
MARK(U153(X)) → ACTIVE(U153(mark(X)))
ACTIVE(U31(tt, N)) → MARK(N)
MARK(U153(X)) → MARK(X)
MARK(U161(X1, X2)) → ACTIVE(U161(mark(X1), X2))
ACTIVE(U41(tt, V1, V2)) → MARK(U42(isNatural(V1), V2))
MARK(U161(X1, X2)) → MARK(X1)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
ACTIVE(U42(tt, V2)) → MARK(U43(isLNat(V2)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(natsFrom(X)) → ACTIVE(natsFrom(mark(X)))
ACTIVE(U51(tt, V1, V2)) → MARK(U52(isNatural(V1), V2))
MARK(natsFrom(X)) → MARK(X)
MARK(s(X)) → ACTIVE(s(mark(X)))
ACTIVE(U52(tt, V2)) → MARK(U53(isLNat(V2)))
MARK(s(X)) → MARK(X)
MARK(U171(X1, X2, X3)) → ACTIVE(U171(mark(X1), X2, X3))
ACTIVE(U61(tt, V1)) → MARK(U62(isPLNat(V1)))
MARK(U171(X1, X2, X3)) → MARK(X1)
MARK(head(X)) → ACTIVE(head(mark(X)))
ACTIVE(U71(tt, V1)) → MARK(U72(isNatural(V1)))
MARK(head(X)) → MARK(X)
MARK(afterNth(X1, X2)) → ACTIVE(afterNth(mark(X1), mark(X2)))
ACTIVE(U81(tt, V1)) → MARK(U82(isPLNat(V1)))
MARK(afterNth(X1, X2)) → MARK(X1)
MARK(afterNth(X1, X2)) → MARK(X2)
MARK(U181(X1, X2)) → ACTIVE(U181(mark(X1), X2))
ACTIVE(U91(tt, V1)) → MARK(U92(isLNat(V1)))
MARK(U181(X1, X2)) → MARK(X1)
MARK(U191(X1, X2)) → ACTIVE(U191(mark(X1), X2))
ACTIVE(afterNth(N, XS)) → MARK(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
MARK(U191(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → ACTIVE(pair(mark(X1), mark(X2)))
ACTIVE(and(tt, X)) → MARK(X)
MARK(pair(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → MARK(X2)
MARK(U201(X1, X2, X3, X4)) → ACTIVE(U201(mark(X1), X2, X3, X4))
ACTIVE(fst(pair(X, Y))) → MARK(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
MARK(U201(X1, X2, X3, X4)) → MARK(X1)
MARK(U202(X1, X2)) → ACTIVE(U202(mark(X1), X2))
ACTIVE(head(cons(N, XS))) → MARK(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
MARK(U202(X1, X2)) → MARK(X1)
MARK(U21(X1, X2)) → ACTIVE(U21(mark(X1), X2))
ACTIVE(isLNat(afterNth(V1, V2))) → MARK(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U21(X1, X2)) → MARK(X1)
MARK(U211(X1, X2)) → ACTIVE(U211(mark(X1), X2))
ACTIVE(isLNat(cons(V1, V2))) → MARK(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U211(X1, X2)) → MARK(X1)
MARK(U221(X1, X2, X3)) → ACTIVE(U221(mark(X1), X2, X3))
ACTIVE(isLNat(fst(V1))) → MARK(U61(isPLNatKind(V1), V1))
MARK(U221(X1, X2, X3)) → MARK(X1)
MARK(fst(X)) → ACTIVE(fst(mark(X)))
ACTIVE(isLNat(natsFrom(V1))) → MARK(U71(isNaturalKind(V1), V1))
MARK(fst(X)) → MARK(X)
MARK(U31(X1, X2)) → ACTIVE(U31(mark(X1), X2))
ACTIVE(isLNat(snd(V1))) → MARK(U81(isPLNatKind(V1), V1))
MARK(U31(X1, X2)) → MARK(X1)
MARK(U41(X1, X2, X3)) → ACTIVE(U41(mark(X1), X2, X3))
ACTIVE(isLNat(tail(V1))) → MARK(U91(isLNatKind(V1), V1))
MARK(U41(X1, X2, X3)) → MARK(X1)
MARK(U42(X1, X2)) → ACTIVE(U42(mark(X1), X2))
ACTIVE(isLNat(take(V1, V2))) → MARK(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U42(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(afterNth(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U43(X)) → MARK(X)
MARK(U51(X1, X2, X3)) → ACTIVE(U51(mark(X1), X2, X3))
ACTIVE(isLNatKind(cons(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U51(X1, X2, X3)) → MARK(X1)
MARK(U52(X1, X2)) → ACTIVE(U52(mark(X1), X2))
ACTIVE(isLNatKind(fst(V1))) → MARK(isPLNatKind(V1))
MARK(U52(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(natsFrom(V1))) → MARK(isNaturalKind(V1))
MARK(U53(X)) → MARK(X)
MARK(U61(X1, X2)) → ACTIVE(U61(mark(X1), X2))
ACTIVE(isLNatKind(snd(V1))) → MARK(isPLNatKind(V1))
MARK(U61(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(tail(V1))) → MARK(isLNatKind(V1))
MARK(U62(X)) → MARK(X)
MARK(isPLNat(X)) → ACTIVE(isPLNat(X))
ACTIVE(isLNatKind(take(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U71(X1, X2)) → ACTIVE(U71(mark(X1), X2))
ACTIVE(isNatural(head(V1))) → MARK(U111(isLNatKind(V1), V1))
MARK(U71(X1, X2)) → MARK(X1)
MARK(U72(X)) → ACTIVE(U72(mark(X)))
ACTIVE(isNatural(s(V1))) → MARK(U121(isNaturalKind(V1), V1))
MARK(U72(X)) → MARK(X)
MARK(U81(X1, X2)) → ACTIVE(U81(mark(X1), X2))
ACTIVE(isNatural(sel(V1, V2))) → MARK(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U81(X1, X2)) → MARK(X1)
MARK(U82(X)) → ACTIVE(U82(mark(X)))
ACTIVE(isNaturalKind(head(V1))) → MARK(isLNatKind(V1))
MARK(U82(X)) → MARK(X)
MARK(U91(X1, X2)) → ACTIVE(U91(mark(X1), X2))
ACTIVE(isNaturalKind(s(V1))) → MARK(isNaturalKind(V1))
MARK(U91(X1, X2)) → MARK(X1)
ACTIVE(isNaturalKind(sel(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U92(X)) → MARK(X)
MARK(and(X1, X2)) → ACTIVE(and(mark(X1), X2))
ACTIVE(isPLNat(pair(V1, V2))) → MARK(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
MARK(and(X1, X2)) → MARK(X1)
MARK(isNaturalKind(X)) → ACTIVE(isNaturalKind(X))
ACTIVE(isPLNat(splitAt(V1, V2))) → MARK(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(isLNatKind(X)) → ACTIVE(isLNatKind(X))
ACTIVE(isPLNatKind(pair(V1, V2))) → MARK(and(isLNatKind(V1), isLNatKind(V2)))
MARK(isPLNatKind(X)) → ACTIVE(isPLNatKind(X))
ACTIVE(isPLNatKind(splitAt(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(tail(X)) → ACTIVE(tail(mark(X)))
ACTIVE(natsFrom(N)) → MARK(U161(and(isNatural(N), isNaturalKind(N)), N))
MARK(tail(X)) → MARK(X)
MARK(take(X1, X2)) → ACTIVE(take(mark(X1), mark(X2)))
ACTIVE(sel(N, XS)) → MARK(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
MARK(take(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
ACTIVE(snd(pair(X, Y))) → MARK(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(X2)
ACTIVE(splitAt(0, XS)) → MARK(U191(and(isLNat(XS), isLNatKind(XS)), XS))
ACTIVE(splitAt(s(N), cons(X, XS))) → MARK(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
ACTIVE(tail(cons(N, XS))) → MARK(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
ACTIVE(take(N, XS)) → MARK(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(560) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U122(X)) → ACTIVE(U122(mark(X)))
MARK(U153(X)) → ACTIVE(U153(mark(X)))
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
MARK(s(X)) → ACTIVE(s(mark(X)))
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
MARK(x1)  =  MARK
U101(x1, x2, x3)  =  U101
ACTIVE(x1)  =  x1
mark(x1)  =  x1
tt  =  tt
U102(x1, x2)  =  U102
isNatural(x1)  =  isNatural
U103(x1)  =  U103
isLNat(x1)  =  isLNat
U11(x1, x2, x3)  =  U11
snd(x1)  =  snd
splitAt(x1, x2)  =  splitAt
U111(x1, x2)  =  U111
U112(x1)  =  x1
U121(x1, x2)  =  U121
U122(x1)  =  U122
U131(x1, x2, x3)  =  U131
U132(x1, x2)  =  U132
U133(x1)  =  U133
U141(x1, x2, x3)  =  U141
U142(x1, x2)  =  U142
U143(x1)  =  U143
U151(x1, x2, x3)  =  U151
U152(x1, x2)  =  U152
U153(x1)  =  U153
U161(x1, x2)  =  U161
cons(x1, x2)  =  cons
natsFrom(x1)  =  natsFrom
s(x1)  =  s
U171(x1, x2, x3)  =  U171
head(x1)  =  head
afterNth(x1, x2)  =  afterNth
U181(x1, x2)  =  U181
U191(x1, x2)  =  U191
pair(x1, x2)  =  pair
nil  =  nil
U201(x1, x2, x3, x4)  =  U201
U202(x1, x2)  =  U202
U21(x1, x2)  =  U21
U211(x1, x2)  =  U211
U221(x1, x2, x3)  =  U221
fst(x1)  =  fst
U31(x1, x2)  =  U31
U41(x1, x2, x3)  =  U41
U42(x1, x2)  =  U42
U43(x1)  =  U43
U51(x1, x2, x3)  =  U51
U52(x1, x2)  =  U52
U53(x1)  =  U53(x1)
U61(x1, x2)  =  U61
U62(x1)  =  U62(x1)
isPLNat(x1)  =  isPLNat
U71(x1, x2)  =  U71
U72(x1)  =  U72
U81(x1, x2)  =  U81
U82(x1)  =  U82
U91(x1, x2)  =  U91
U92(x1)  =  U92
and(x1, x2)  =  and
isNaturalKind(x1)  =  isNaturalKind
isLNatKind(x1)  =  isLNatKind
isPLNatKind(x1)  =  isPLNatKind
tail(x1)  =  tail
take(x1, x2)  =  take
sel(x1, x2)  =  sel
0  =  0
active(x1)  =  x1

Lexicographic path order with status [LPO].
Quasi-Precedence:
[MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U143, U151, U152, U161, natsFrom, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U531, U61, isPLNat, U71, U72, U81, U82, U91, U92, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > s
[MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U143, U151, U152, U161, natsFrom, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U531, U61, isPLNat, U71, U72, U81, U82, U91, U92, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U621 > tt > U103
[MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U143, U151, U152, U161, natsFrom, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U531, U61, isPLNat, U71, U72, U81, U82, U91, U92, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U621 > tt > U122
[MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U143, U151, U152, U161, natsFrom, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U531, U61, isPLNat, U71, U72, U81, U82, U91, U92, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U621 > tt > U133
[MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U143, U151, U152, U161, natsFrom, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U531, U61, isPLNat, U71, U72, U81, U82, U91, U92, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U621 > tt > U153
[MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U143, U151, U152, U161, natsFrom, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U531, U61, isPLNat, U71, U72, U81, U82, U91, U92, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U621 > tt > cons
[MARK, U101, U102, isNatural, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U143, U151, U152, U161, natsFrom, U171, head, afterNth, U181, U191, pair, U201, U202, U21, U211, U221, fst, U31, U41, U42, U43, U51, U52, U531, U61, isPLNat, U71, U72, U81, U82, U91, U92, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U621 > tt > nil

Status:
U141: []
isNaturalKind: []
U92: []
U31: []
U42: []
U152: []
U11: []
afterNth: []
natsFrom: []
cons: []
tt: []
U121: []
U41: []
and: []
U81: []
isPLNatKind: []
nil: []
U122: []
isPLNat: []
U51: []
MARK: []
fst: []
U181: []
U621: [1]
snd: []
U142: []
tail: []
U531: [1]
U151: []
pair: []
isNatural: []
U133: []
U211: []
U111: []
U143: []
isLNatKind: []
U61: []
U72: []
U82: []
head: []
U153: []
U171: []
U161: []
U43: []
U21: []
sel: []
U201: []
U91: []
U52: []
U202: []
U132: []
isLNat: []
s: []
U131: []
U71: []
0: []
take: []
U191: []
splitAt: []
U103: []
U102: []
U101: []
U221: []


The following usable rules [FROCOS05] were oriented:

isLNatKind(active(X)) → isLNatKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
sel(X1, mark(X2)) → sel(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(X1, mark(X2)) → take(X1, X2)
take(mark(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
U82(active(X)) → U82(X)
U82(mark(X)) → U82(X)
U72(active(X)) → U72(X)
U72(mark(X)) → U72(X)
U81(X1, mark(X2)) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U81(mark(X1), X2) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
and(mark(X1), X2) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
isPLNat(active(X)) → isPLNat(X)
isPLNat(mark(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(mark(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U202(X1, active(X2)) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(mark(X1), X2) → U202(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U211(X1, active(X2)) → U211(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)
U211(X1, mark(X2)) → U211(X1, X2)
U211(active(X1), X2) → U211(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U142(X1, mark(X2)) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(mark(X1), X2) → U142(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(mark(X1), X2) → U152(X1, X2)
U153(active(X)) → U153(X)
U153(mark(X)) → U153(X)
head(active(X)) → head(X)
head(mark(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
natsFrom(active(X)) → natsFrom(X)
natsFrom(mark(X)) → natsFrom(X)
s(active(X)) → s(X)
s(mark(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
pair(X1, active(X2)) → pair(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U181(mark(X1), X2) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
isLNat(active(X)) → isLNat(X)
isLNat(mark(X)) → isLNat(X)
isNatural(active(X)) → isNatural(X)
isNatural(mark(X)) → isNatural(X)
U102(X1, active(X2)) → U102(X1, X2)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U111(X1, active(X2)) → U111(X1, X2)
U111(mark(X1), X2) → U111(X1, X2)
U111(X1, mark(X2)) → U111(X1, X2)
U111(active(X1), X2) → U111(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
snd(active(X)) → snd(X)
snd(mark(X)) → snd(X)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U132(mark(X1), X2) → U132(X1, X2)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U122(active(X)) → U122(X)
U122(mark(X)) → U122(X)

(561) Obligation:

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

MARK(U101(X1, X2, X3)) → ACTIVE(U101(mark(X1), X2, X3))
ACTIVE(U101(tt, V1, V2)) → MARK(U102(isNatural(V1), V2))
MARK(U101(X1, X2, X3)) → MARK(X1)
MARK(U102(X1, X2)) → ACTIVE(U102(mark(X1), X2))
ACTIVE(U102(tt, V2)) → MARK(U103(isLNat(V2)))
MARK(U102(X1, X2)) → MARK(X1)
MARK(isNatural(X)) → ACTIVE(isNatural(X))
ACTIVE(U11(tt, N, XS)) → MARK(snd(splitAt(N, XS)))
ACTIVE(U111(tt, V1)) → MARK(U112(isLNat(V1)))
MARK(U103(X)) → MARK(X)
MARK(isLNat(X)) → ACTIVE(isLNat(X))
ACTIVE(U121(tt, V1)) → MARK(U122(isNatural(V1)))
MARK(U11(X1, X2, X3)) → ACTIVE(U11(mark(X1), X2, X3))
ACTIVE(U131(tt, V1, V2)) → MARK(U132(isNatural(V1), V2))
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(snd(X)) → ACTIVE(snd(mark(X)))
ACTIVE(U132(tt, V2)) → MARK(U133(isLNat(V2)))
MARK(snd(X)) → MARK(X)
MARK(splitAt(X1, X2)) → ACTIVE(splitAt(mark(X1), mark(X2)))
ACTIVE(U141(tt, V1, V2)) → MARK(U142(isLNat(V1), V2))
MARK(splitAt(X1, X2)) → MARK(X1)
MARK(splitAt(X1, X2)) → MARK(X2)
MARK(U111(X1, X2)) → ACTIVE(U111(mark(X1), X2))
ACTIVE(U142(tt, V2)) → MARK(U143(isLNat(V2)))
MARK(U111(X1, X2)) → MARK(X1)
ACTIVE(U151(tt, V1, V2)) → MARK(U152(isNatural(V1), V2))
MARK(U112(X)) → MARK(X)
MARK(U121(X1, X2)) → ACTIVE(U121(mark(X1), X2))
ACTIVE(U152(tt, V2)) → MARK(U153(isLNat(V2)))
MARK(U121(X1, X2)) → MARK(X1)
ACTIVE(U161(tt, N)) → MARK(cons(N, natsFrom(s(N))))
MARK(U122(X)) → MARK(X)
MARK(U131(X1, X2, X3)) → ACTIVE(U131(mark(X1), X2, X3))
ACTIVE(U171(tt, N, XS)) → MARK(head(afterNth(N, XS)))
MARK(U131(X1, X2, X3)) → MARK(X1)
MARK(U132(X1, X2)) → ACTIVE(U132(mark(X1), X2))
ACTIVE(U181(tt, Y)) → MARK(Y)
MARK(U132(X1, X2)) → MARK(X1)
ACTIVE(U191(tt, XS)) → MARK(pair(nil, XS))
MARK(U133(X)) → MARK(X)
MARK(U141(X1, X2, X3)) → ACTIVE(U141(mark(X1), X2, X3))
ACTIVE(U201(tt, N, X, XS)) → MARK(U202(splitAt(N, XS), X))
MARK(U141(X1, X2, X3)) → MARK(X1)
MARK(U142(X1, X2)) → ACTIVE(U142(mark(X1), X2))
ACTIVE(U202(pair(YS, ZS), X)) → MARK(pair(cons(X, YS), ZS))
MARK(U142(X1, X2)) → MARK(X1)
MARK(U143(X)) → ACTIVE(U143(mark(X)))
ACTIVE(U21(tt, X)) → MARK(X)
MARK(U143(X)) → MARK(X)
MARK(U151(X1, X2, X3)) → ACTIVE(U151(mark(X1), X2, X3))
ACTIVE(U211(tt, XS)) → MARK(XS)
MARK(U151(X1, X2, X3)) → MARK(X1)
MARK(U152(X1, X2)) → ACTIVE(U152(mark(X1), X2))
ACTIVE(U221(tt, N, XS)) → MARK(fst(splitAt(N, XS)))
MARK(U152(X1, X2)) → MARK(X1)
ACTIVE(U31(tt, N)) → MARK(N)
MARK(U153(X)) → MARK(X)
MARK(U161(X1, X2)) → ACTIVE(U161(mark(X1), X2))
ACTIVE(U41(tt, V1, V2)) → MARK(U42(isNatural(V1), V2))
MARK(U161(X1, X2)) → MARK(X1)
ACTIVE(U42(tt, V2)) → MARK(U43(isLNat(V2)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(natsFrom(X)) → ACTIVE(natsFrom(mark(X)))
ACTIVE(U51(tt, V1, V2)) → MARK(U52(isNatural(V1), V2))
MARK(natsFrom(X)) → MARK(X)
ACTIVE(U52(tt, V2)) → MARK(U53(isLNat(V2)))
MARK(s(X)) → MARK(X)
MARK(U171(X1, X2, X3)) → ACTIVE(U171(mark(X1), X2, X3))
ACTIVE(U61(tt, V1)) → MARK(U62(isPLNat(V1)))
MARK(U171(X1, X2, X3)) → MARK(X1)
MARK(head(X)) → ACTIVE(head(mark(X)))
ACTIVE(U71(tt, V1)) → MARK(U72(isNatural(V1)))
MARK(head(X)) → MARK(X)
MARK(afterNth(X1, X2)) → ACTIVE(afterNth(mark(X1), mark(X2)))
ACTIVE(U81(tt, V1)) → MARK(U82(isPLNat(V1)))
MARK(afterNth(X1, X2)) → MARK(X1)
MARK(afterNth(X1, X2)) → MARK(X2)
MARK(U181(X1, X2)) → ACTIVE(U181(mark(X1), X2))
ACTIVE(U91(tt, V1)) → MARK(U92(isLNat(V1)))
MARK(U181(X1, X2)) → MARK(X1)
MARK(U191(X1, X2)) → ACTIVE(U191(mark(X1), X2))
ACTIVE(afterNth(N, XS)) → MARK(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
MARK(U191(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → ACTIVE(pair(mark(X1), mark(X2)))
ACTIVE(and(tt, X)) → MARK(X)
MARK(pair(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → MARK(X2)
MARK(U201(X1, X2, X3, X4)) → ACTIVE(U201(mark(X1), X2, X3, X4))
ACTIVE(fst(pair(X, Y))) → MARK(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
MARK(U201(X1, X2, X3, X4)) → MARK(X1)
MARK(U202(X1, X2)) → ACTIVE(U202(mark(X1), X2))
ACTIVE(head(cons(N, XS))) → MARK(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
MARK(U202(X1, X2)) → MARK(X1)
MARK(U21(X1, X2)) → ACTIVE(U21(mark(X1), X2))
ACTIVE(isLNat(afterNth(V1, V2))) → MARK(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U21(X1, X2)) → MARK(X1)
MARK(U211(X1, X2)) → ACTIVE(U211(mark(X1), X2))
ACTIVE(isLNat(cons(V1, V2))) → MARK(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U211(X1, X2)) → MARK(X1)
MARK(U221(X1, X2, X3)) → ACTIVE(U221(mark(X1), X2, X3))
ACTIVE(isLNat(fst(V1))) → MARK(U61(isPLNatKind(V1), V1))
MARK(U221(X1, X2, X3)) → MARK(X1)
MARK(fst(X)) → ACTIVE(fst(mark(X)))
ACTIVE(isLNat(natsFrom(V1))) → MARK(U71(isNaturalKind(V1), V1))
MARK(fst(X)) → MARK(X)
MARK(U31(X1, X2)) → ACTIVE(U31(mark(X1), X2))
ACTIVE(isLNat(snd(V1))) → MARK(U81(isPLNatKind(V1), V1))
MARK(U31(X1, X2)) → MARK(X1)
MARK(U41(X1, X2, X3)) → ACTIVE(U41(mark(X1), X2, X3))
ACTIVE(isLNat(tail(V1))) → MARK(U91(isLNatKind(V1), V1))
MARK(U41(X1, X2, X3)) → MARK(X1)
MARK(U42(X1, X2)) → ACTIVE(U42(mark(X1), X2))
ACTIVE(isLNat(take(V1, V2))) → MARK(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U42(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(afterNth(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U43(X)) → MARK(X)
MARK(U51(X1, X2, X3)) → ACTIVE(U51(mark(X1), X2, X3))
ACTIVE(isLNatKind(cons(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U51(X1, X2, X3)) → MARK(X1)
MARK(U52(X1, X2)) → ACTIVE(U52(mark(X1), X2))
ACTIVE(isLNatKind(fst(V1))) → MARK(isPLNatKind(V1))
MARK(U52(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(natsFrom(V1))) → MARK(isNaturalKind(V1))
MARK(U53(X)) → MARK(X)
MARK(U61(X1, X2)) → ACTIVE(U61(mark(X1), X2))
ACTIVE(isLNatKind(snd(V1))) → MARK(isPLNatKind(V1))
MARK(U61(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(tail(V1))) → MARK(isLNatKind(V1))
MARK(U62(X)) → MARK(X)
MARK(isPLNat(X)) → ACTIVE(isPLNat(X))
ACTIVE(isLNatKind(take(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U71(X1, X2)) → ACTIVE(U71(mark(X1), X2))
ACTIVE(isNatural(head(V1))) → MARK(U111(isLNatKind(V1), V1))
MARK(U71(X1, X2)) → MARK(X1)
MARK(U72(X)) → ACTIVE(U72(mark(X)))
ACTIVE(isNatural(s(V1))) → MARK(U121(isNaturalKind(V1), V1))
MARK(U72(X)) → MARK(X)
MARK(U81(X1, X2)) → ACTIVE(U81(mark(X1), X2))
ACTIVE(isNatural(sel(V1, V2))) → MARK(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U81(X1, X2)) → MARK(X1)
MARK(U82(X)) → ACTIVE(U82(mark(X)))
ACTIVE(isNaturalKind(head(V1))) → MARK(isLNatKind(V1))
MARK(U82(X)) → MARK(X)
MARK(U91(X1, X2)) → ACTIVE(U91(mark(X1), X2))
ACTIVE(isNaturalKind(s(V1))) → MARK(isNaturalKind(V1))
MARK(U91(X1, X2)) → MARK(X1)
ACTIVE(isNaturalKind(sel(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U92(X)) → MARK(X)
MARK(and(X1, X2)) → ACTIVE(and(mark(X1), X2))
ACTIVE(isPLNat(pair(V1, V2))) → MARK(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
MARK(and(X1, X2)) → MARK(X1)
MARK(isNaturalKind(X)) → ACTIVE(isNaturalKind(X))
ACTIVE(isPLNat(splitAt(V1, V2))) → MARK(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(isLNatKind(X)) → ACTIVE(isLNatKind(X))
ACTIVE(isPLNatKind(pair(V1, V2))) → MARK(and(isLNatKind(V1), isLNatKind(V2)))
MARK(isPLNatKind(X)) → ACTIVE(isPLNatKind(X))
ACTIVE(isPLNatKind(splitAt(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(tail(X)) → ACTIVE(tail(mark(X)))
ACTIVE(natsFrom(N)) → MARK(U161(and(isNatural(N), isNaturalKind(N)), N))
MARK(tail(X)) → MARK(X)
MARK(take(X1, X2)) → ACTIVE(take(mark(X1), mark(X2)))
ACTIVE(sel(N, XS)) → MARK(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
MARK(take(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
ACTIVE(snd(pair(X, Y))) → MARK(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(X2)
ACTIVE(splitAt(0, XS)) → MARK(U191(and(isLNat(XS), isLNatKind(XS)), XS))
ACTIVE(splitAt(s(N), cons(X, XS))) → MARK(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
ACTIVE(tail(cons(N, XS))) → MARK(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
ACTIVE(take(N, XS)) → MARK(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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

(562) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


MARK(U143(X)) → ACTIVE(U143(mark(X)))
MARK(pair(X1, X2)) → ACTIVE(pair(mark(X1), mark(X2)))
MARK(U72(X)) → ACTIVE(U72(mark(X)))
MARK(U82(X)) → ACTIVE(U82(mark(X)))
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
MARK(x1)  =  MARK
U101(x1, x2, x3)  =  U101
ACTIVE(x1)  =  x1
mark(x1)  =  mark
tt  =  tt
U102(x1, x2)  =  U102
isNatural(x1)  =  isNatural
U103(x1)  =  U103
isLNat(x1)  =  isLNat
U11(x1, x2, x3)  =  U11
snd(x1)  =  snd
splitAt(x1, x2)  =  splitAt
U111(x1, x2)  =  U111
U112(x1)  =  U112(x1)
U121(x1, x2)  =  U121
U122(x1)  =  U122(x1)
U131(x1, x2, x3)  =  U131
U132(x1, x2)  =  U132
U133(x1)  =  x1
U141(x1, x2, x3)  =  U141
U142(x1, x2)  =  U142
U143(x1)  =  U143
U151(x1, x2, x3)  =  U151
U152(x1, x2)  =  U152
U153(x1)  =  U153(x1)
U161(x1, x2)  =  U161
cons(x1, x2)  =  cons(x1, x2)
natsFrom(x1)  =  natsFrom
s(x1)  =  x1
U171(x1, x2, x3)  =  U171
head(x1)  =  head
afterNth(x1, x2)  =  afterNth
U181(x1, x2)  =  U181
U191(x1, x2)  =  U191
pair(x1, x2)  =  pair
nil  =  nil
U201(x1, x2, x3, x4)  =  U201
U202(x1, x2)  =  U202
U21(x1, x2)  =  U21
U211(x1, x2)  =  U211
U221(x1, x2, x3)  =  U221
fst(x1)  =  fst
U31(x1, x2)  =  U31
U41(x1, x2, x3)  =  U41
U42(x1, x2)  =  U42
U43(x1)  =  U43(x1)
U51(x1, x2, x3)  =  U51
U52(x1, x2)  =  U52
U53(x1)  =  U53(x1)
U61(x1, x2)  =  U61
U62(x1)  =  U62
isPLNat(x1)  =  isPLNat
U71(x1, x2)  =  U71
U72(x1)  =  U72
U81(x1, x2)  =  U81
U82(x1)  =  U82
U91(x1, x2)  =  U91
U92(x1)  =  U92(x1)
and(x1, x2)  =  and
isNaturalKind(x1)  =  isNaturalKind
isLNatKind(x1)  =  isLNatKind
isPLNatKind(x1)  =  isPLNatKind
tail(x1)  =  tail
take(x1, x2)  =  take
sel(x1, x2)  =  sel
0  =  0
active(x1)  =  active(x1)

Lexicographic path order with status [LPO].
Quasi-Precedence:
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U1121 > tt > U1221
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U1121 > tt > nil
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U1121 > tt > U62
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U1121 > tt > U82
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U143 > tt > U1221
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U143 > tt > nil
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U143 > tt > U62
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U143 > tt > U82
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > pair
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U72 > tt > U1221
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U72 > tt > nil
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U72 > tt > U62
[mark, U431, U531, active1] > U1531 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U72 > tt > U82
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U1121 > tt > U1221
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U1121 > tt > nil
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U1121 > tt > U62
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U1121 > tt > U82
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U143 > tt > U1221
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U143 > tt > nil
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U143 > tt > U62
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U143 > tt > U82
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > pair
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U72 > tt > U1221
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U72 > tt > nil
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U72 > tt > U62
[mark, U431, U531, active1] > U921 > [MARK, U101, U102, isNatural, U103, isLNat, U11, snd, splitAt, U111, U121, U131, U132, U141, U142, U151, U152, U161, cons2, natsFrom, U171, head, afterNth, U181, U191, U201, U202, U21, U211, U221, fst, U31, U41, U42, U51, U52, U61, isPLNat, U71, U81, U91, and, isNaturalKind, isLNatKind, isPLNatKind, tail, take, sel] > U72 > tt > U82
[mark, U431, U531, active1] > 0

Status:
U141: []
isNaturalKind: []
U31: []
U42: []
U152: []
U11: []
afterNth: []
natsFrom: []
active1: [1]
tt: []
U121: []
U41: []
and: []
U81: []
isPLNatKind: []
nil: []
isPLNat: []
U51: []
MARK: []
fst: []
U181: []
snd: []
U142: []
tail: []
U531: [1]
U151: []
mark: []
pair: []
isNatural: []
U211: []
U111: []
U143: []
U1221: [1]
isLNatKind: []
U61: []
U72: []
U82: []
head: []
U921: [1]
U171: []
U161: []
U21: []
sel: []
U62: []
U201: []
U1531: [1]
U91: []
U52: []
U202: []
U132: []
isLNat: []
U131: []
U71: []
U431: [1]
0: []
take: []
U191: []
splitAt: []
U103: []
cons2: [2,1]
U102: []
U1121: [1]
U101: []
U221: []


The following usable rules [FROCOS05] were oriented:

isLNatKind(active(X)) → isLNatKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
sel(X1, mark(X2)) → sel(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(X1, mark(X2)) → take(X1, X2)
take(mark(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
U82(active(X)) → U82(X)
U82(mark(X)) → U82(X)
U72(active(X)) → U72(X)
U72(mark(X)) → U72(X)
U81(X1, mark(X2)) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U81(mark(X1), X2) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
and(mark(X1), X2) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
isPLNat(active(X)) → isPLNat(X)
isPLNat(mark(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(mark(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U202(X1, active(X2)) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(mark(X1), X2) → U202(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U211(X1, active(X2)) → U211(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)
U211(X1, mark(X2)) → U211(X1, X2)
U211(active(X1), X2) → U211(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U142(X1, mark(X2)) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(mark(X1), X2) → U142(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(mark(X1), X2) → U152(X1, X2)
head(active(X)) → head(X)
head(mark(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
natsFrom(active(X)) → natsFrom(X)
natsFrom(mark(X)) → natsFrom(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
pair(X1, active(X2)) → pair(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U181(mark(X1), X2) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
isLNat(active(X)) → isLNat(X)
isLNat(mark(X)) → isLNat(X)
isNatural(active(X)) → isNatural(X)
isNatural(mark(X)) → isNatural(X)
U102(X1, active(X2)) → U102(X1, X2)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U111(X1, active(X2)) → U111(X1, X2)
U111(mark(X1), X2) → U111(X1, X2)
U111(X1, mark(X2)) → U111(X1, X2)
U111(active(X1), X2) → U111(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
snd(active(X)) → snd(X)
snd(mark(X)) → snd(X)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U132(mark(X1), X2) → U132(X1, X2)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)

(563) Obligation:

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

MARK(U101(X1, X2, X3)) → ACTIVE(U101(mark(X1), X2, X3))
ACTIVE(U101(tt, V1, V2)) → MARK(U102(isNatural(V1), V2))
MARK(U101(X1, X2, X3)) → MARK(X1)
MARK(U102(X1, X2)) → ACTIVE(U102(mark(X1), X2))
ACTIVE(U102(tt, V2)) → MARK(U103(isLNat(V2)))
MARK(U102(X1, X2)) → MARK(X1)
MARK(isNatural(X)) → ACTIVE(isNatural(X))
ACTIVE(U11(tt, N, XS)) → MARK(snd(splitAt(N, XS)))
ACTIVE(U111(tt, V1)) → MARK(U112(isLNat(V1)))
MARK(U103(X)) → MARK(X)
MARK(isLNat(X)) → ACTIVE(isLNat(X))
ACTIVE(U121(tt, V1)) → MARK(U122(isNatural(V1)))
MARK(U11(X1, X2, X3)) → ACTIVE(U11(mark(X1), X2, X3))
ACTIVE(U131(tt, V1, V2)) → MARK(U132(isNatural(V1), V2))
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(snd(X)) → ACTIVE(snd(mark(X)))
ACTIVE(U132(tt, V2)) → MARK(U133(isLNat(V2)))
MARK(snd(X)) → MARK(X)
MARK(splitAt(X1, X2)) → ACTIVE(splitAt(mark(X1), mark(X2)))
ACTIVE(U141(tt, V1, V2)) → MARK(U142(isLNat(V1), V2))
MARK(splitAt(X1, X2)) → MARK(X1)
MARK(splitAt(X1, X2)) → MARK(X2)
MARK(U111(X1, X2)) → ACTIVE(U111(mark(X1), X2))
ACTIVE(U142(tt, V2)) → MARK(U143(isLNat(V2)))
MARK(U111(X1, X2)) → MARK(X1)
ACTIVE(U151(tt, V1, V2)) → MARK(U152(isNatural(V1), V2))
MARK(U112(X)) → MARK(X)
MARK(U121(X1, X2)) → ACTIVE(U121(mark(X1), X2))
ACTIVE(U152(tt, V2)) → MARK(U153(isLNat(V2)))
MARK(U121(X1, X2)) → MARK(X1)
ACTIVE(U161(tt, N)) → MARK(cons(N, natsFrom(s(N))))
MARK(U122(X)) → MARK(X)
MARK(U131(X1, X2, X3)) → ACTIVE(U131(mark(X1), X2, X3))
ACTIVE(U171(tt, N, XS)) → MARK(head(afterNth(N, XS)))
MARK(U131(X1, X2, X3)) → MARK(X1)
MARK(U132(X1, X2)) → ACTIVE(U132(mark(X1), X2))
ACTIVE(U181(tt, Y)) → MARK(Y)
MARK(U132(X1, X2)) → MARK(X1)
ACTIVE(U191(tt, XS)) → MARK(pair(nil, XS))
MARK(U133(X)) → MARK(X)
MARK(U141(X1, X2, X3)) → ACTIVE(U141(mark(X1), X2, X3))
ACTIVE(U201(tt, N, X, XS)) → MARK(U202(splitAt(N, XS), X))
MARK(U141(X1, X2, X3)) → MARK(X1)
MARK(U142(X1, X2)) → ACTIVE(U142(mark(X1), X2))
ACTIVE(U202(pair(YS, ZS), X)) → MARK(pair(cons(X, YS), ZS))
MARK(U142(X1, X2)) → MARK(X1)
ACTIVE(U21(tt, X)) → MARK(X)
MARK(U143(X)) → MARK(X)
MARK(U151(X1, X2, X3)) → ACTIVE(U151(mark(X1), X2, X3))
ACTIVE(U211(tt, XS)) → MARK(XS)
MARK(U151(X1, X2, X3)) → MARK(X1)
MARK(U152(X1, X2)) → ACTIVE(U152(mark(X1), X2))
ACTIVE(U221(tt, N, XS)) → MARK(fst(splitAt(N, XS)))
MARK(U152(X1, X2)) → MARK(X1)
ACTIVE(U31(tt, N)) → MARK(N)
MARK(U153(X)) → MARK(X)
MARK(U161(X1, X2)) → ACTIVE(U161(mark(X1), X2))
ACTIVE(U41(tt, V1, V2)) → MARK(U42(isNatural(V1), V2))
MARK(U161(X1, X2)) → MARK(X1)
ACTIVE(U42(tt, V2)) → MARK(U43(isLNat(V2)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(natsFrom(X)) → ACTIVE(natsFrom(mark(X)))
ACTIVE(U51(tt, V1, V2)) → MARK(U52(isNatural(V1), V2))
MARK(natsFrom(X)) → MARK(X)
ACTIVE(U52(tt, V2)) → MARK(U53(isLNat(V2)))
MARK(s(X)) → MARK(X)
MARK(U171(X1, X2, X3)) → ACTIVE(U171(mark(X1), X2, X3))
ACTIVE(U61(tt, V1)) → MARK(U62(isPLNat(V1)))
MARK(U171(X1, X2, X3)) → MARK(X1)
MARK(head(X)) → ACTIVE(head(mark(X)))
ACTIVE(U71(tt, V1)) → MARK(U72(isNatural(V1)))
MARK(head(X)) → MARK(X)
MARK(afterNth(X1, X2)) → ACTIVE(afterNth(mark(X1), mark(X2)))
ACTIVE(U81(tt, V1)) → MARK(U82(isPLNat(V1)))
MARK(afterNth(X1, X2)) → MARK(X1)
MARK(afterNth(X1, X2)) → MARK(X2)
MARK(U181(X1, X2)) → ACTIVE(U181(mark(X1), X2))
ACTIVE(U91(tt, V1)) → MARK(U92(isLNat(V1)))
MARK(U181(X1, X2)) → MARK(X1)
MARK(U191(X1, X2)) → ACTIVE(U191(mark(X1), X2))
ACTIVE(afterNth(N, XS)) → MARK(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
MARK(U191(X1, X2)) → MARK(X1)
ACTIVE(and(tt, X)) → MARK(X)
MARK(pair(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → MARK(X2)
MARK(U201(X1, X2, X3, X4)) → ACTIVE(U201(mark(X1), X2, X3, X4))
ACTIVE(fst(pair(X, Y))) → MARK(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
MARK(U201(X1, X2, X3, X4)) → MARK(X1)
MARK(U202(X1, X2)) → ACTIVE(U202(mark(X1), X2))
ACTIVE(head(cons(N, XS))) → MARK(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
MARK(U202(X1, X2)) → MARK(X1)
MARK(U21(X1, X2)) → ACTIVE(U21(mark(X1), X2))
ACTIVE(isLNat(afterNth(V1, V2))) → MARK(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U21(X1, X2)) → MARK(X1)
MARK(U211(X1, X2)) → ACTIVE(U211(mark(X1), X2))
ACTIVE(isLNat(cons(V1, V2))) → MARK(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U211(X1, X2)) → MARK(X1)
MARK(U221(X1, X2, X3)) → ACTIVE(U221(mark(X1), X2, X3))
ACTIVE(isLNat(fst(V1))) → MARK(U61(isPLNatKind(V1), V1))
MARK(U221(X1, X2, X3)) → MARK(X1)
MARK(fst(X)) → ACTIVE(fst(mark(X)))
ACTIVE(isLNat(natsFrom(V1))) → MARK(U71(isNaturalKind(V1), V1))
MARK(fst(X)) → MARK(X)
MARK(U31(X1, X2)) → ACTIVE(U31(mark(X1), X2))
ACTIVE(isLNat(snd(V1))) → MARK(U81(isPLNatKind(V1), V1))
MARK(U31(X1, X2)) → MARK(X1)
MARK(U41(X1, X2, X3)) → ACTIVE(U41(mark(X1), X2, X3))
ACTIVE(isLNat(tail(V1))) → MARK(U91(isLNatKind(V1), V1))
MARK(U41(X1, X2, X3)) → MARK(X1)
MARK(U42(X1, X2)) → ACTIVE(U42(mark(X1), X2))
ACTIVE(isLNat(take(V1, V2))) → MARK(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U42(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(afterNth(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U43(X)) → MARK(X)
MARK(U51(X1, X2, X3)) → ACTIVE(U51(mark(X1), X2, X3))
ACTIVE(isLNatKind(cons(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U51(X1, X2, X3)) → MARK(X1)
MARK(U52(X1, X2)) → ACTIVE(U52(mark(X1), X2))
ACTIVE(isLNatKind(fst(V1))) → MARK(isPLNatKind(V1))
MARK(U52(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(natsFrom(V1))) → MARK(isNaturalKind(V1))
MARK(U53(X)) → MARK(X)
MARK(U61(X1, X2)) → ACTIVE(U61(mark(X1), X2))
ACTIVE(isLNatKind(snd(V1))) → MARK(isPLNatKind(V1))
MARK(U61(X1, X2)) → MARK(X1)
ACTIVE(isLNatKind(tail(V1))) → MARK(isLNatKind(V1))
MARK(U62(X)) → MARK(X)
MARK(isPLNat(X)) → ACTIVE(isPLNat(X))
ACTIVE(isLNatKind(take(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U71(X1, X2)) → ACTIVE(U71(mark(X1), X2))
ACTIVE(isNatural(head(V1))) → MARK(U111(isLNatKind(V1), V1))
MARK(U71(X1, X2)) → MARK(X1)
ACTIVE(isNatural(s(V1))) → MARK(U121(isNaturalKind(V1), V1))
MARK(U72(X)) → MARK(X)
MARK(U81(X1, X2)) → ACTIVE(U81(mark(X1), X2))
ACTIVE(isNatural(sel(V1, V2))) → MARK(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(U81(X1, X2)) → MARK(X1)
ACTIVE(isNaturalKind(head(V1))) → MARK(isLNatKind(V1))
MARK(U82(X)) → MARK(X)
MARK(U91(X1, X2)) → ACTIVE(U91(mark(X1), X2))
ACTIVE(isNaturalKind(s(V1))) → MARK(isNaturalKind(V1))
MARK(U91(X1, X2)) → MARK(X1)
ACTIVE(isNaturalKind(sel(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(U92(X)) → MARK(X)
MARK(and(X1, X2)) → ACTIVE(and(mark(X1), X2))
ACTIVE(isPLNat(pair(V1, V2))) → MARK(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
MARK(and(X1, X2)) → MARK(X1)
MARK(isNaturalKind(X)) → ACTIVE(isNaturalKind(X))
ACTIVE(isPLNat(splitAt(V1, V2))) → MARK(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
MARK(isLNatKind(X)) → ACTIVE(isLNatKind(X))
ACTIVE(isPLNatKind(pair(V1, V2))) → MARK(and(isLNatKind(V1), isLNatKind(V2)))
MARK(isPLNatKind(X)) → ACTIVE(isPLNatKind(X))
ACTIVE(isPLNatKind(splitAt(V1, V2))) → MARK(and(isNaturalKind(V1), isLNatKind(V2)))
MARK(tail(X)) → ACTIVE(tail(mark(X)))
ACTIVE(natsFrom(N)) → MARK(U161(and(isNatural(N), isNaturalKind(N)), N))
MARK(tail(X)) → MARK(X)
MARK(take(X1, X2)) → ACTIVE(take(mark(X1), mark(X2)))
ACTIVE(sel(N, XS)) → MARK(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
MARK(take(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → MARK(X2)
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
ACTIVE(snd(pair(X, Y))) → MARK(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(X2)
ACTIVE(splitAt(0, XS)) → MARK(U191(and(isLNat(XS), isLNatKind(XS)), XS))
ACTIVE(splitAt(s(N), cons(X, XS))) → MARK(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
ACTIVE(tail(cons(N, XS))) → MARK(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
ACTIVE(take(N, XS)) → MARK(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))

The TRS R consists of the following rules:

active(U101(tt, V1, V2)) → mark(U102(isNatural(V1), V2))
active(U102(tt, V2)) → mark(U103(isLNat(V2)))
active(U103(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U111(tt, V1)) → mark(U112(isLNat(V1)))
active(U112(tt)) → mark(tt)
active(U121(tt, V1)) → mark(U122(isNatural(V1)))
active(U122(tt)) → mark(tt)
active(U131(tt, V1, V2)) → mark(U132(isNatural(V1), V2))
active(U132(tt, V2)) → mark(U133(isLNat(V2)))
active(U133(tt)) → mark(tt)
active(U141(tt, V1, V2)) → mark(U142(isLNat(V1), V2))
active(U142(tt, V2)) → mark(U143(isLNat(V2)))
active(U143(tt)) → mark(tt)
active(U151(tt, V1, V2)) → mark(U152(isNatural(V1), V2))
active(U152(tt, V2)) → mark(U153(isLNat(V2)))
active(U153(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(splitAt(N, XS), X))
active(U202(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X)) → mark(X)
active(U211(tt, XS)) → mark(XS)
active(U221(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N)) → mark(N)
active(U41(tt, V1, V2)) → mark(U42(isNatural(V1), V2))
active(U42(tt, V2)) → mark(U43(isLNat(V2)))
active(U43(tt)) → mark(tt)
active(U51(tt, V1, V2)) → mark(U52(isNatural(V1), V2))
active(U52(tt, V2)) → mark(U53(isLNat(V2)))
active(U53(tt)) → mark(tt)
active(U61(tt, V1)) → mark(U62(isPLNat(V1)))
active(U62(tt)) → mark(tt)
active(U71(tt, V1)) → mark(U72(isNatural(V1)))
active(U72(tt)) → mark(tt)
active(U81(tt, V1)) → mark(U82(isPLNat(V1)))
active(U82(tt)) → mark(tt)
active(U91(tt, V1)) → mark(U92(isLNat(V1)))
active(U92(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(and(tt, X)) → mark(X)
active(fst(pair(X, Y))) → mark(U21(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), X))
active(head(cons(N, XS))) → mark(U31(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(cons(V1, V2))) → mark(U51(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNat(fst(V1))) → mark(U61(isPLNatKind(V1), V1))
active(isLNat(natsFrom(V1))) → mark(U71(isNaturalKind(V1), V1))
active(isLNat(snd(V1))) → mark(U81(isPLNatKind(V1), V1))
active(isLNat(tail(V1))) → mark(U91(isLNatKind(V1), V1))
active(isLNat(take(V1, V2))) → mark(U101(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isLNatKind(nil)) → mark(tt)
active(isLNatKind(afterNth(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(cons(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isLNatKind(fst(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(natsFrom(V1))) → mark(isNaturalKind(V1))
active(isLNatKind(snd(V1))) → mark(isPLNatKind(V1))
active(isLNatKind(tail(V1))) → mark(isLNatKind(V1))
active(isLNatKind(take(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNatKind(V1), V1))
active(isNatural(s(V1))) → mark(U121(isNaturalKind(V1), V1))
active(isNatural(sel(V1, V2))) → mark(U131(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isNaturalKind(0)) → mark(tt)
active(isNaturalKind(head(V1))) → mark(isLNatKind(V1))
active(isNaturalKind(s(V1))) → mark(isNaturalKind(V1))
active(isNaturalKind(sel(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(isPLNat(pair(V1, V2))) → mark(U141(and(isLNatKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(and(isNaturalKind(V1), isLNatKind(V2)), V1, V2))
active(isPLNatKind(pair(V1, V2))) → mark(and(isLNatKind(V1), isLNatKind(V2)))
active(isPLNatKind(splitAt(V1, V2))) → mark(and(isNaturalKind(V1), isLNatKind(V2)))
active(natsFrom(N)) → mark(U161(and(isNatural(N), isNaturalKind(N)), N))
active(sel(N, XS)) → mark(U171(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
active(snd(pair(X, Y))) → mark(U181(and(and(isLNat(X), isLNatKind(X)), and(isLNat(Y), isLNatKind(Y))), Y))
active(splitAt(0, XS)) → mark(U191(and(isLNat(XS), isLNatKind(XS)), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(and(and(isNatural(N), isNaturalKind(N)), and(and(isNatural(X), isNaturalKind(X)), and(isLNat(XS), isLNatKind(XS)))), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), XS))
active(take(N, XS)) → mark(U221(and(and(isNatural(N), isNaturalKind(N)), and(isLNat(XS), isLNatKind(XS))), N, XS))
mark(U101(X1, X2, X3)) → active(U101(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U102(X1, X2)) → active(U102(mark(X1), X2))
mark(isNatural(X)) → active(isNatural(X))
mark(U103(X)) → active(U103(mark(X)))
mark(isLNat(X)) → active(isLNat(X))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U111(X1, X2)) → active(U111(mark(X1), X2))
mark(U112(X)) → active(U112(mark(X)))
mark(U121(X1, X2)) → active(U121(mark(X1), X2))
mark(U122(X)) → active(U122(mark(X)))
mark(U131(X1, X2, X3)) → active(U131(mark(X1), X2, X3))
mark(U132(X1, X2)) → active(U132(mark(X1), X2))
mark(U133(X)) → active(U133(mark(X)))
mark(U141(X1, X2, X3)) → active(U141(mark(X1), X2, X3))
mark(U142(X1, X2)) → active(U142(mark(X1), X2))
mark(U143(X)) → active(U143(mark(X)))
mark(U151(X1, X2, X3)) → active(U151(mark(X1), X2, X3))
mark(U152(X1, X2)) → active(U152(mark(X1), X2))
mark(U153(X)) → active(U153(mark(X)))
mark(U161(X1, X2)) → active(U161(mark(X1), X2))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(U171(X1, X2, X3)) → active(U171(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U181(X1, X2)) → active(U181(mark(X1), X2))
mark(U191(X1, X2)) → active(U191(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(nil) → active(nil)
mark(U201(X1, X2, X3, X4)) → active(U201(mark(X1), X2, X3, X4))
mark(U202(X1, X2)) → active(U202(mark(X1), X2))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U211(X1, X2)) → active(U211(mark(X1), X2))
mark(U221(X1, X2, X3)) → active(U221(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2)) → active(U42(mark(X1), X2))
mark(U43(X)) → active(U43(mark(X)))
mark(U51(X1, X2, X3)) → active(U51(mark(X1), X2, X3))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U53(X)) → active(U53(mark(X)))
mark(U61(X1, X2)) → active(U61(mark(X1), X2))
mark(U62(X)) → active(U62(mark(X)))
mark(isPLNat(X)) → active(isPLNat(X))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X)) → active(U72(mark(X)))
mark(U81(X1, X2)) → active(U81(mark(X1), X2))
mark(U82(X)) → active(U82(mark(X)))
mark(U91(X1, X2)) → active(U91(mark(X1), X2))
mark(U92(X)) → active(U92(mark(X)))
mark(and(X1, X2)) → active(and(mark(X1), X2))
mark(isNaturalKind(X)) → active(isNaturalKind(X))
mark(isLNatKind(X)) → active(isLNatKind(X))
mark(isPLNatKind(X)) → active(isPLNatKind(X))
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
mark(0) → active(0)
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
U101(mark(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, mark(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, mark(X3)) → U101(X1, X2, X3)
U101(active(X1), X2, X3) → U101(X1, X2, X3)
U101(X1, active(X2), X3) → U101(X1, X2, X3)
U101(X1, X2, active(X3)) → U101(X1, X2, X3)
U102(mark(X1), X2) → U102(X1, X2)
U102(X1, mark(X2)) → U102(X1, X2)
U102(active(X1), X2) → U102(X1, X2)
U102(X1, active(X2)) → U102(X1, X2)
isNatural(mark(X)) → isNatural(X)
isNatural(active(X)) → isNatural(X)
U103(mark(X)) → U103(X)
U103(active(X)) → U103(X)
isLNat(mark(X)) → isLNat(X)
isLNat(active(X)) → isLNat(X)
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
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)
U112(mark(X)) → U112(X)
U112(active(X)) → U112(X)
U121(mark(X1), X2) → U121(X1, X2)
U121(X1, mark(X2)) → U121(X1, X2)
U121(active(X1), X2) → U121(X1, X2)
U121(X1, active(X2)) → U121(X1, X2)
U122(mark(X)) → U122(X)
U122(active(X)) → U122(X)
U131(mark(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, mark(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, mark(X3)) → U131(X1, X2, X3)
U131(active(X1), X2, X3) → U131(X1, X2, X3)
U131(X1, active(X2), X3) → U131(X1, X2, X3)
U131(X1, X2, active(X3)) → U131(X1, X2, X3)
U132(mark(X1), X2) → U132(X1, X2)
U132(X1, mark(X2)) → U132(X1, X2)
U132(active(X1), X2) → U132(X1, X2)
U132(X1, active(X2)) → U132(X1, X2)
U133(mark(X)) → U133(X)
U133(active(X)) → U133(X)
U141(mark(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, mark(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, mark(X3)) → U141(X1, X2, X3)
U141(active(X1), X2, X3) → U141(X1, X2, X3)
U141(X1, active(X2), X3) → U141(X1, X2, X3)
U141(X1, X2, active(X3)) → U141(X1, X2, X3)
U142(mark(X1), X2) → U142(X1, X2)
U142(X1, mark(X2)) → U142(X1, X2)
U142(active(X1), X2) → U142(X1, X2)
U142(X1, active(X2)) → U142(X1, X2)
U143(mark(X)) → U143(X)
U143(active(X)) → U143(X)
U151(mark(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, mark(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, mark(X3)) → U151(X1, X2, X3)
U151(active(X1), X2, X3) → U151(X1, X2, X3)
U151(X1, active(X2), X3) → U151(X1, X2, X3)
U151(X1, X2, active(X3)) → U151(X1, X2, X3)
U152(mark(X1), X2) → U152(X1, X2)
U152(X1, mark(X2)) → U152(X1, X2)
U152(active(X1), X2) → U152(X1, X2)
U152(X1, active(X2)) → U152(X1, X2)
U153(mark(X)) → U153(X)
U153(active(X)) → U153(X)
U161(mark(X1), X2) → U161(X1, X2)
U161(X1, mark(X2)) → U161(X1, X2)
U161(active(X1), X2) → U161(X1, X2)
U161(X1, active(X2)) → U161(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
U171(mark(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, mark(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, mark(X3)) → U171(X1, X2, X3)
U171(active(X1), X2, X3) → U171(X1, X2, X3)
U171(X1, active(X2), X3) → U171(X1, X2, X3)
U171(X1, X2, active(X3)) → U171(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U181(mark(X1), X2) → U181(X1, X2)
U181(X1, mark(X2)) → U181(X1, X2)
U181(active(X1), X2) → U181(X1, X2)
U181(X1, active(X2)) → U181(X1, X2)
U191(mark(X1), X2) → U191(X1, X2)
U191(X1, mark(X2)) → U191(X1, X2)
U191(active(X1), X2) → U191(X1, X2)
U191(X1, active(X2)) → U191(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
U201(mark(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, mark(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, mark(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, mark(X4)) → U201(X1, X2, X3, X4)
U201(active(X1), X2, X3, X4) → U201(X1, X2, X3, X4)
U201(X1, active(X2), X3, X4) → U201(X1, X2, X3, X4)
U201(X1, X2, active(X3), X4) → U201(X1, X2, X3, X4)
U201(X1, X2, X3, active(X4)) → U201(X1, X2, X3, X4)
U202(mark(X1), X2) → U202(X1, X2)
U202(X1, mark(X2)) → U202(X1, X2)
U202(active(X1), X2) → U202(X1, X2)
U202(X1, active(X2)) → U202(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(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, X3) → U221(X1, X2, X3)
U221(X1, mark(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, mark(X3)) → U221(X1, X2, X3)
U221(active(X1), X2, X3) → U221(X1, X2, X3)
U221(X1, active(X2), X3) → U221(X1, X2, X3)
U221(X1, X2, active(X3)) → U221(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2) → U42(X1, X2)
U42(X1, mark(X2)) → U42(X1, X2)
U42(active(X1), X2) → U42(X1, X2)
U42(X1, active(X2)) → U42(X1, X2)
U43(mark(X)) → U43(X)
U43(active(X)) → U43(X)
U51(mark(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, mark(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, mark(X3)) → U51(X1, X2, X3)
U51(active(X1), X2, X3) → U51(X1, X2, X3)
U51(X1, active(X2), X3) → U51(X1, X2, X3)
U51(X1, X2, active(X3)) → U51(X1, X2, X3)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U53(mark(X)) → U53(X)
U53(active(X)) → U53(X)
U61(mark(X1), X2) → U61(X1, X2)
U61(X1, mark(X2)) → U61(X1, X2)
U61(active(X1), X2) → U61(X1, X2)
U61(X1, active(X2)) → U61(X1, X2)
U62(mark(X)) → U62(X)
U62(active(X)) → U62(X)
isPLNat(mark(X)) → isPLNat(X)
isPLNat(active(X)) → isPLNat(X)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X)) → U72(X)
U72(active(X)) → U72(X)
U81(mark(X1), X2) → U81(X1, X2)
U81(X1, mark(X2)) → U81(X1, X2)
U81(active(X1), X2) → U81(X1, X2)
U81(X1, active(X2)) → U81(X1, X2)
U82(mark(X)) → U82(X)
U82(active(X)) → U82(X)
U91(mark(X1), X2) → U91(X1, X2)
U91(X1, mark(X2)) → U91(X1, X2)
U91(active(X1), X2) → U91(X1, X2)
U91(X1, active(X2)) → U91(X1, X2)
U92(mark(X)) → U92(X)
U92(active(X)) → U92(X)
and(mark(X1), X2) → and(X1, X2)
and(X1, mark(X2)) → and(X1, X2)
and(active(X1), X2) → and(X1, X2)
and(X1, active(X2)) → and(X1, X2)
isNaturalKind(mark(X)) → isNaturalKind(X)
isNaturalKind(active(X)) → isNaturalKind(X)
isLNatKind(mark(X)) → isLNatKind(X)
isLNatKind(active(X)) → isLNatKind(X)
isPLNatKind(mark(X)) → isPLNatKind(X)
isPLNatKind(active(X)) → isPLNatKind(X)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)

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