(0) Obligation:

The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(1, n^1).


The TRS R consists of the following rules:

active(U101(tt, V2)) → mark(U102(isLNat(V2)))
active(U102(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(U12(isLNat(XS), N, XS))
active(U111(tt)) → mark(tt)
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U121(tt)) → mark(tt)
active(U131(tt, V2)) → mark(U132(isLNat(V2)))
active(U132(tt)) → mark(tt)
active(U141(tt, V2)) → mark(U142(isLNat(V2)))
active(U142(tt)) → mark(tt)
active(U151(tt, V2)) → mark(U152(isLNat(V2)))
active(U152(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(U172(isLNat(XS), N, XS))
active(U172(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(U182(isLNat(Y), Y))
active(U182(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(isNatural(X), N, X, XS))
active(U202(tt, N, X, XS)) → mark(U203(isLNat(XS), N, X, XS))
active(U203(tt, N, X, XS)) → mark(U204(splitAt(N, XS), X))
active(U204(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X, Y)) → mark(U22(isLNat(Y), X))
active(U211(tt, XS)) → mark(U212(isLNat(XS), XS))
active(U212(tt, XS)) → mark(XS)
active(U22(tt, X)) → mark(X)
active(U221(tt, N, XS)) → mark(U222(isLNat(XS), N, XS))
active(U222(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N, XS)) → mark(U32(isLNat(XS), N))
active(U32(tt, N)) → mark(N)
active(U41(tt, V2)) → mark(U42(isLNat(V2)))
active(U42(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isLNat(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(isNatural(N), N, XS))
active(fst(pair(X, Y))) → mark(U21(isLNat(X), X, Y))
active(head(cons(N, XS))) → mark(U31(isNatural(N), N, XS))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(isNatural(V1), V2))
active(isLNat(cons(V1, V2))) → mark(U51(isNatural(V1), V2))
active(isLNat(fst(V1))) → mark(U61(isPLNat(V1)))
active(isLNat(natsFrom(V1))) → mark(U71(isNatural(V1)))
active(isLNat(snd(V1))) → mark(U81(isPLNat(V1)))
active(isLNat(tail(V1))) → mark(U91(isLNat(V1)))
active(isLNat(take(V1, V2))) → mark(U101(isNatural(V1), V2))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNat(V1)))
active(isNatural(s(V1))) → mark(U121(isNatural(V1)))
active(isNatural(sel(V1, V2))) → mark(U131(isNatural(V1), V2))
active(isPLNat(pair(V1, V2))) → mark(U141(isLNat(V1), V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(isNatural(V1), V2))
active(natsFrom(N)) → mark(U161(isNatural(N), N))
active(sel(N, XS)) → mark(U171(isNatural(N), N, XS))
active(snd(pair(X, Y))) → mark(U181(isLNat(X), Y))
active(splitAt(0, XS)) → mark(U191(isLNat(XS), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(isNatural(N), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(isNatural(N), XS))
active(take(N, XS)) → mark(U221(isNatural(N), N, XS))
active(U101(X1, X2)) → U101(active(X1), X2)
active(U102(X)) → U102(active(X))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(U111(X)) → U111(active(X))
active(snd(X)) → snd(active(X))
active(splitAt(X1, X2)) → splitAt(active(X1), X2)
active(splitAt(X1, X2)) → splitAt(X1, active(X2))
active(U121(X)) → U121(active(X))
active(U131(X1, X2)) → U131(active(X1), X2)
active(U132(X)) → U132(active(X))
active(U141(X1, X2)) → U141(active(X1), X2)
active(U142(X)) → U142(active(X))
active(U151(X1, X2)) → U151(active(X1), X2)
active(U152(X)) → U152(active(X))
active(U161(X1, X2)) → U161(active(X1), X2)
active(cons(X1, X2)) → cons(active(X1), X2)
active(natsFrom(X)) → natsFrom(active(X))
active(s(X)) → s(active(X))
active(U171(X1, X2, X3)) → U171(active(X1), X2, X3)
active(U172(X1, X2, X3)) → U172(active(X1), X2, X3)
active(head(X)) → head(active(X))
active(afterNth(X1, X2)) → afterNth(active(X1), X2)
active(afterNth(X1, X2)) → afterNth(X1, active(X2))
active(U181(X1, X2)) → U181(active(X1), X2)
active(U182(X1, X2)) → U182(active(X1), X2)
active(U191(X1, X2)) → U191(active(X1), X2)
active(pair(X1, X2)) → pair(active(X1), X2)
active(pair(X1, X2)) → pair(X1, active(X2))
active(U201(X1, X2, X3, X4)) → U201(active(X1), X2, X3, X4)
active(U202(X1, X2, X3, X4)) → U202(active(X1), X2, X3, X4)
active(U203(X1, X2, X3, X4)) → U203(active(X1), X2, X3, X4)
active(U204(X1, X2)) → U204(active(X1), X2)
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U211(X1, X2)) → U211(active(X1), X2)
active(U212(X1, X2)) → U212(active(X1), X2)
active(U221(X1, X2, X3)) → U221(active(X1), X2, X3)
active(U222(X1, X2, X3)) → U222(active(X1), X2, X3)
active(fst(X)) → fst(active(X))
active(U31(X1, X2, X3)) → U31(active(X1), X2, X3)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U41(X1, X2)) → U41(active(X1), X2)
active(U42(X)) → U42(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X)) → U61(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X)) → U91(active(X))
active(tail(X)) → tail(active(X))
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(sel(X1, X2)) → sel(active(X1), X2)
active(sel(X1, X2)) → sel(X1, active(X2))
U101(mark(X1), X2) → mark(U101(X1, X2))
U102(mark(X)) → mark(U102(X))
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
U111(mark(X)) → mark(U111(X))
snd(mark(X)) → mark(snd(X))
splitAt(mark(X1), X2) → mark(splitAt(X1, X2))
splitAt(X1, mark(X2)) → mark(splitAt(X1, X2))
U121(mark(X)) → mark(U121(X))
U131(mark(X1), X2) → mark(U131(X1, X2))
U132(mark(X)) → mark(U132(X))
U141(mark(X1), X2) → mark(U141(X1, X2))
U142(mark(X)) → mark(U142(X))
U151(mark(X1), X2) → mark(U151(X1, X2))
U152(mark(X)) → mark(U152(X))
U161(mark(X1), X2) → mark(U161(X1, X2))
cons(mark(X1), X2) → mark(cons(X1, X2))
natsFrom(mark(X)) → mark(natsFrom(X))
s(mark(X)) → mark(s(X))
U171(mark(X1), X2, X3) → mark(U171(X1, X2, X3))
U172(mark(X1), X2, X3) → mark(U172(X1, X2, X3))
head(mark(X)) → mark(head(X))
afterNth(mark(X1), X2) → mark(afterNth(X1, X2))
afterNth(X1, mark(X2)) → mark(afterNth(X1, X2))
U181(mark(X1), X2) → mark(U181(X1, X2))
U182(mark(X1), X2) → mark(U182(X1, X2))
U191(mark(X1), X2) → mark(U191(X1, X2))
pair(mark(X1), X2) → mark(pair(X1, X2))
pair(X1, mark(X2)) → mark(pair(X1, X2))
U201(mark(X1), X2, X3, X4) → mark(U201(X1, X2, X3, X4))
U202(mark(X1), X2, X3, X4) → mark(U202(X1, X2, X3, X4))
U203(mark(X1), X2, X3, X4) → mark(U203(X1, X2, X3, X4))
U204(mark(X1), X2) → mark(U204(X1, X2))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
U22(mark(X1), X2) → mark(U22(X1, X2))
U211(mark(X1), X2) → mark(U211(X1, X2))
U212(mark(X1), X2) → mark(U212(X1, X2))
U221(mark(X1), X2, X3) → mark(U221(X1, X2, X3))
U222(mark(X1), X2, X3) → mark(U222(X1, X2, X3))
fst(mark(X)) → mark(fst(X))
U31(mark(X1), X2, X3) → mark(U31(X1, X2, X3))
U32(mark(X1), X2) → mark(U32(X1, X2))
U41(mark(X1), X2) → mark(U41(X1, X2))
U42(mark(X)) → mark(U42(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X)) → mark(U61(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X)) → mark(U91(X))
tail(mark(X)) → mark(tail(X))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
sel(mark(X1), X2) → mark(sel(X1, X2))
sel(X1, mark(X2)) → mark(sel(X1, X2))
proper(U101(X1, X2)) → U101(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(U102(X)) → U102(proper(X))
proper(isLNat(X)) → isLNat(proper(X))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(U111(X)) → U111(proper(X))
proper(snd(X)) → snd(proper(X))
proper(splitAt(X1, X2)) → splitAt(proper(X1), proper(X2))
proper(U121(X)) → U121(proper(X))
proper(U131(X1, X2)) → U131(proper(X1), proper(X2))
proper(U132(X)) → U132(proper(X))
proper(U141(X1, X2)) → U141(proper(X1), proper(X2))
proper(U142(X)) → U142(proper(X))
proper(U151(X1, X2)) → U151(proper(X1), proper(X2))
proper(U152(X)) → U152(proper(X))
proper(U161(X1, X2)) → U161(proper(X1), proper(X2))
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(natsFrom(X)) → natsFrom(proper(X))
proper(s(X)) → s(proper(X))
proper(U171(X1, X2, X3)) → U171(proper(X1), proper(X2), proper(X3))
proper(U172(X1, X2, X3)) → U172(proper(X1), proper(X2), proper(X3))
proper(head(X)) → head(proper(X))
proper(afterNth(X1, X2)) → afterNth(proper(X1), proper(X2))
proper(U181(X1, X2)) → U181(proper(X1), proper(X2))
proper(U182(X1, X2)) → U182(proper(X1), proper(X2))
proper(U191(X1, X2)) → U191(proper(X1), proper(X2))
proper(pair(X1, X2)) → pair(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(U201(X1, X2, X3, X4)) → U201(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U202(X1, X2, X3, X4)) → U202(proper(X1), proper(X2), proper(X3), proper(X4))
proper(isNatural(X)) → isNatural(proper(X))
proper(U203(X1, X2, X3, X4)) → U203(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U204(X1, X2)) → U204(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U211(X1, X2)) → U211(proper(X1), proper(X2))
proper(U212(X1, X2)) → U212(proper(X1), proper(X2))
proper(U221(X1, X2, X3)) → U221(proper(X1), proper(X2), proper(X3))
proper(U222(X1, X2, X3)) → U222(proper(X1), proper(X2), proper(X3))
proper(fst(X)) → fst(proper(X))
proper(U31(X1, X2, X3)) → U31(proper(X1), proper(X2), proper(X3))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U41(X1, X2)) → U41(proper(X1), proper(X2))
proper(U42(X)) → U42(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X)) → U61(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X)) → U91(proper(X))
proper(isPLNat(X)) → isPLNat(proper(X))
proper(tail(X)) → tail(proper(X))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(0) → ok(0)
proper(sel(X1, X2)) → sel(proper(X1), proper(X2))
U101(ok(X1), ok(X2)) → ok(U101(X1, X2))
U102(ok(X)) → ok(U102(X))
isLNat(ok(X)) → ok(isLNat(X))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U111(ok(X)) → ok(U111(X))
snd(ok(X)) → ok(snd(X))
splitAt(ok(X1), ok(X2)) → ok(splitAt(X1, X2))
U121(ok(X)) → ok(U121(X))
U131(ok(X1), ok(X2)) → ok(U131(X1, X2))
U132(ok(X)) → ok(U132(X))
U141(ok(X1), ok(X2)) → ok(U141(X1, X2))
U142(ok(X)) → ok(U142(X))
U151(ok(X1), ok(X2)) → ok(U151(X1, X2))
U152(ok(X)) → ok(U152(X))
U161(ok(X1), ok(X2)) → ok(U161(X1, X2))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
natsFrom(ok(X)) → ok(natsFrom(X))
s(ok(X)) → ok(s(X))
U171(ok(X1), ok(X2), ok(X3)) → ok(U171(X1, X2, X3))
U172(ok(X1), ok(X2), ok(X3)) → ok(U172(X1, X2, X3))
head(ok(X)) → ok(head(X))
afterNth(ok(X1), ok(X2)) → ok(afterNth(X1, X2))
U181(ok(X1), ok(X2)) → ok(U181(X1, X2))
U182(ok(X1), ok(X2)) → ok(U182(X1, X2))
U191(ok(X1), ok(X2)) → ok(U191(X1, X2))
pair(ok(X1), ok(X2)) → ok(pair(X1, X2))
U201(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U201(X1, X2, X3, X4))
U202(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U202(X1, X2, X3, X4))
isNatural(ok(X)) → ok(isNatural(X))
U203(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U203(X1, X2, X3, X4))
U204(ok(X1), ok(X2)) → ok(U204(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U211(ok(X1), ok(X2)) → ok(U211(X1, X2))
U212(ok(X1), ok(X2)) → ok(U212(X1, X2))
U221(ok(X1), ok(X2), ok(X3)) → ok(U221(X1, X2, X3))
U222(ok(X1), ok(X2), ok(X3)) → ok(U222(X1, X2, X3))
fst(ok(X)) → ok(fst(X))
U31(ok(X1), ok(X2), ok(X3)) → ok(U31(X1, X2, X3))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U41(ok(X1), ok(X2)) → ok(U41(X1, X2))
U42(ok(X)) → ok(U42(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X)) → ok(U61(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X)) → ok(U91(X))
isPLNat(ok(X)) → ok(isPLNat(X))
tail(ok(X)) → ok(tail(X))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
sel(ok(X1), ok(X2)) → ok(sel(X1, X2))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Rewrite Strategy: FULL

(1) NestedDefinedSymbolProof (BOTH BOUNDS(ID, ID) transformation)

The following defined symbols can occur below the 0th argument of top: proper, active
The following defined symbols can occur below the 0th argument of proper: proper, active
The following defined symbols can occur below the 0th argument of active: proper, active

Hence, the left-hand sides of the following rules are not basic-reachable and can be removed:
active(U101(tt, V2)) → mark(U102(isLNat(V2)))
active(U102(tt)) → mark(tt)
active(U11(tt, N, XS)) → mark(U12(isLNat(XS), N, XS))
active(U111(tt)) → mark(tt)
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U121(tt)) → mark(tt)
active(U131(tt, V2)) → mark(U132(isLNat(V2)))
active(U132(tt)) → mark(tt)
active(U141(tt, V2)) → mark(U142(isLNat(V2)))
active(U142(tt)) → mark(tt)
active(U151(tt, V2)) → mark(U152(isLNat(V2)))
active(U152(tt)) → mark(tt)
active(U161(tt, N)) → mark(cons(N, natsFrom(s(N))))
active(U171(tt, N, XS)) → mark(U172(isLNat(XS), N, XS))
active(U172(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U181(tt, Y)) → mark(U182(isLNat(Y), Y))
active(U182(tt, Y)) → mark(Y)
active(U191(tt, XS)) → mark(pair(nil, XS))
active(U201(tt, N, X, XS)) → mark(U202(isNatural(X), N, X, XS))
active(U202(tt, N, X, XS)) → mark(U203(isLNat(XS), N, X, XS))
active(U203(tt, N, X, XS)) → mark(U204(splitAt(N, XS), X))
active(U204(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U21(tt, X, Y)) → mark(U22(isLNat(Y), X))
active(U211(tt, XS)) → mark(U212(isLNat(XS), XS))
active(U212(tt, XS)) → mark(XS)
active(U22(tt, X)) → mark(X)
active(U221(tt, N, XS)) → mark(U222(isLNat(XS), N, XS))
active(U222(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(U31(tt, N, XS)) → mark(U32(isLNat(XS), N))
active(U32(tt, N)) → mark(N)
active(U41(tt, V2)) → mark(U42(isLNat(V2)))
active(U42(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isLNat(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt)) → mark(tt)
active(afterNth(N, XS)) → mark(U11(isNatural(N), N, XS))
active(fst(pair(X, Y))) → mark(U21(isLNat(X), X, Y))
active(head(cons(N, XS))) → mark(U31(isNatural(N), N, XS))
active(isLNat(nil)) → mark(tt)
active(isLNat(afterNth(V1, V2))) → mark(U41(isNatural(V1), V2))
active(isLNat(cons(V1, V2))) → mark(U51(isNatural(V1), V2))
active(isLNat(fst(V1))) → mark(U61(isPLNat(V1)))
active(isLNat(natsFrom(V1))) → mark(U71(isNatural(V1)))
active(isLNat(snd(V1))) → mark(U81(isPLNat(V1)))
active(isLNat(tail(V1))) → mark(U91(isLNat(V1)))
active(isLNat(take(V1, V2))) → mark(U101(isNatural(V1), V2))
active(isNatural(0)) → mark(tt)
active(isNatural(head(V1))) → mark(U111(isLNat(V1)))
active(isNatural(s(V1))) → mark(U121(isNatural(V1)))
active(isNatural(sel(V1, V2))) → mark(U131(isNatural(V1), V2))
active(isPLNat(pair(V1, V2))) → mark(U141(isLNat(V1), V2))
active(isPLNat(splitAt(V1, V2))) → mark(U151(isNatural(V1), V2))
active(natsFrom(N)) → mark(U161(isNatural(N), N))
active(sel(N, XS)) → mark(U171(isNatural(N), N, XS))
active(snd(pair(X, Y))) → mark(U181(isLNat(X), Y))
active(splitAt(0, XS)) → mark(U191(isLNat(XS), XS))
active(splitAt(s(N), cons(X, XS))) → mark(U201(isNatural(N), N, X, XS))
active(tail(cons(N, XS))) → mark(U211(isNatural(N), XS))
active(take(N, XS)) → mark(U221(isNatural(N), N, XS))
active(U101(X1, X2)) → U101(active(X1), X2)
active(U102(X)) → U102(active(X))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2, X3)) → U12(active(X1), X2, X3)
active(U111(X)) → U111(active(X))
active(snd(X)) → snd(active(X))
active(splitAt(X1, X2)) → splitAt(active(X1), X2)
active(splitAt(X1, X2)) → splitAt(X1, active(X2))
active(U121(X)) → U121(active(X))
active(U131(X1, X2)) → U131(active(X1), X2)
active(U132(X)) → U132(active(X))
active(U141(X1, X2)) → U141(active(X1), X2)
active(U142(X)) → U142(active(X))
active(U151(X1, X2)) → U151(active(X1), X2)
active(U152(X)) → U152(active(X))
active(U161(X1, X2)) → U161(active(X1), X2)
active(cons(X1, X2)) → cons(active(X1), X2)
active(natsFrom(X)) → natsFrom(active(X))
active(s(X)) → s(active(X))
active(U171(X1, X2, X3)) → U171(active(X1), X2, X3)
active(U172(X1, X2, X3)) → U172(active(X1), X2, X3)
active(head(X)) → head(active(X))
active(afterNth(X1, X2)) → afterNth(active(X1), X2)
active(afterNth(X1, X2)) → afterNth(X1, active(X2))
active(U181(X1, X2)) → U181(active(X1), X2)
active(U182(X1, X2)) → U182(active(X1), X2)
active(U191(X1, X2)) → U191(active(X1), X2)
active(pair(X1, X2)) → pair(active(X1), X2)
active(pair(X1, X2)) → pair(X1, active(X2))
active(U201(X1, X2, X3, X4)) → U201(active(X1), X2, X3, X4)
active(U202(X1, X2, X3, X4)) → U202(active(X1), X2, X3, X4)
active(U203(X1, X2, X3, X4)) → U203(active(X1), X2, X3, X4)
active(U204(X1, X2)) → U204(active(X1), X2)
active(U21(X1, X2, X3)) → U21(active(X1), X2, X3)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U211(X1, X2)) → U211(active(X1), X2)
active(U212(X1, X2)) → U212(active(X1), X2)
active(U221(X1, X2, X3)) → U221(active(X1), X2, X3)
active(U222(X1, X2, X3)) → U222(active(X1), X2, X3)
active(fst(X)) → fst(active(X))
active(U31(X1, X2, X3)) → U31(active(X1), X2, X3)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U41(X1, X2)) → U41(active(X1), X2)
active(U42(X)) → U42(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X)) → U61(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X)) → U91(active(X))
active(tail(X)) → tail(active(X))
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(sel(X1, X2)) → sel(active(X1), X2)
active(sel(X1, X2)) → sel(X1, active(X2))
proper(U101(X1, X2)) → U101(proper(X1), proper(X2))
proper(U102(X)) → U102(proper(X))
proper(isLNat(X)) → isLNat(proper(X))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(U12(X1, X2, X3)) → U12(proper(X1), proper(X2), proper(X3))
proper(U111(X)) → U111(proper(X))
proper(snd(X)) → snd(proper(X))
proper(splitAt(X1, X2)) → splitAt(proper(X1), proper(X2))
proper(U121(X)) → U121(proper(X))
proper(U131(X1, X2)) → U131(proper(X1), proper(X2))
proper(U132(X)) → U132(proper(X))
proper(U141(X1, X2)) → U141(proper(X1), proper(X2))
proper(U142(X)) → U142(proper(X))
proper(U151(X1, X2)) → U151(proper(X1), proper(X2))
proper(U152(X)) → U152(proper(X))
proper(U161(X1, X2)) → U161(proper(X1), proper(X2))
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(natsFrom(X)) → natsFrom(proper(X))
proper(s(X)) → s(proper(X))
proper(U171(X1, X2, X3)) → U171(proper(X1), proper(X2), proper(X3))
proper(U172(X1, X2, X3)) → U172(proper(X1), proper(X2), proper(X3))
proper(head(X)) → head(proper(X))
proper(afterNth(X1, X2)) → afterNth(proper(X1), proper(X2))
proper(U181(X1, X2)) → U181(proper(X1), proper(X2))
proper(U182(X1, X2)) → U182(proper(X1), proper(X2))
proper(U191(X1, X2)) → U191(proper(X1), proper(X2))
proper(pair(X1, X2)) → pair(proper(X1), proper(X2))
proper(U201(X1, X2, X3, X4)) → U201(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U202(X1, X2, X3, X4)) → U202(proper(X1), proper(X2), proper(X3), proper(X4))
proper(isNatural(X)) → isNatural(proper(X))
proper(U203(X1, X2, X3, X4)) → U203(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U204(X1, X2)) → U204(proper(X1), proper(X2))
proper(U21(X1, X2, X3)) → U21(proper(X1), proper(X2), proper(X3))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U211(X1, X2)) → U211(proper(X1), proper(X2))
proper(U212(X1, X2)) → U212(proper(X1), proper(X2))
proper(U221(X1, X2, X3)) → U221(proper(X1), proper(X2), proper(X3))
proper(U222(X1, X2, X3)) → U222(proper(X1), proper(X2), proper(X3))
proper(fst(X)) → fst(proper(X))
proper(U31(X1, X2, X3)) → U31(proper(X1), proper(X2), proper(X3))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U41(X1, X2)) → U41(proper(X1), proper(X2))
proper(U42(X)) → U42(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X)) → U61(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X)) → U91(proper(X))
proper(isPLNat(X)) → isPLNat(proper(X))
proper(tail(X)) → tail(proper(X))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(sel(X1, X2)) → sel(proper(X1), proper(X2))

(2) Obligation:

The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(1, n^1).


The TRS R consists of the following rules:

U202(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U202(X1, X2, X3, X4))
top(ok(X)) → top(active(X))
U71(mark(X)) → mark(U71(X))
U61(ok(X)) → ok(U61(X))
pair(mark(X1), X2) → mark(pair(X1, X2))
U41(mark(X1), X2) → mark(U41(X1, X2))
sel(ok(X1), ok(X2)) → ok(sel(X1, X2))
U42(mark(X)) → mark(U42(X))
U181(ok(X1), ok(X2)) → ok(U181(X1, X2))
U142(ok(X)) → ok(U142(X))
U152(mark(X)) → mark(U152(X))
proper(tt) → ok(tt)
proper(nil) → ok(nil)
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U203(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U203(X1, X2, X3, X4))
U201(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U201(X1, X2, X3, X4))
splitAt(X1, mark(X2)) → mark(splitAt(X1, X2))
head(mark(X)) → mark(head(X))
sel(mark(X1), X2) → mark(sel(X1, X2))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U151(ok(X1), ok(X2)) → ok(U151(X1, X2))
fst(mark(X)) → mark(fst(X))
afterNth(ok(X1), ok(X2)) → ok(afterNth(X1, X2))
tail(mark(X)) → mark(tail(X))
U181(mark(X1), X2) → mark(U181(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U132(ok(X)) → ok(U132(X))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
afterNth(X1, mark(X2)) → mark(afterNth(X1, X2))
U212(mark(X1), X2) → mark(U212(X1, X2))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
U141(ok(X1), ok(X2)) → ok(U141(X1, X2))
U212(ok(X1), ok(X2)) → ok(U212(X1, X2))
U142(mark(X)) → mark(U142(X))
take(X1, mark(X2)) → mark(take(X1, X2))
U121(mark(X)) → mark(U121(X))
U203(mark(X1), X2, X3, X4) → mark(U203(X1, X2, X3, X4))
pair(ok(X1), ok(X2)) → ok(pair(X1, X2))
U91(ok(X)) → ok(U91(X))
U101(mark(X1), X2) → mark(U101(X1, X2))
U41(ok(X1), ok(X2)) → ok(U41(X1, X2))
U151(mark(X1), X2) → mark(U151(X1, X2))
natsFrom(mark(X)) → mark(natsFrom(X))
U171(mark(X1), X2, X3) → mark(U171(X1, X2, X3))
U204(ok(X1), ok(X2)) → ok(U204(X1, X2))
s(mark(X)) → mark(s(X))
fst(ok(X)) → ok(fst(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
top(mark(X)) → top(proper(X))
U31(ok(X1), ok(X2), ok(X3)) → ok(U31(X1, X2, X3))
isNatural(ok(X)) → ok(isNatural(X))
U202(mark(X1), X2, X3, X4) → mark(U202(X1, X2, X3, X4))
U221(mark(X1), X2, X3) → mark(U221(X1, X2, X3))
U32(mark(X1), X2) → mark(U32(X1, X2))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U221(ok(X1), ok(X2), ok(X3)) → ok(U221(X1, X2, X3))
tail(ok(X)) → ok(tail(X))
U131(ok(X1), ok(X2)) → ok(U131(X1, X2))
snd(ok(X)) → ok(snd(X))
U161(mark(X1), X2) → mark(U161(X1, X2))
U172(ok(X1), ok(X2), ok(X3)) → ok(U172(X1, X2, X3))
U172(mark(X1), X2, X3) → mark(U172(X1, X2, X3))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
splitAt(mark(X1), X2) → mark(splitAt(X1, X2))
sel(X1, mark(X2)) → mark(sel(X1, X2))
U31(mark(X1), X2, X3) → mark(U31(X1, X2, X3))
isPLNat(ok(X)) → ok(isPLNat(X))
U204(mark(X1), X2) → mark(U204(X1, X2))
U91(mark(X)) → mark(U91(X))
U121(ok(X)) → ok(U121(X))
U222(ok(X1), ok(X2), ok(X3)) → ok(U222(X1, X2, X3))
U102(mark(X)) → mark(U102(X))
U222(mark(X1), X2, X3) → mark(U222(X1, X2, X3))
natsFrom(ok(X)) → ok(natsFrom(X))
U101(ok(X1), ok(X2)) → ok(U101(X1, X2))
U191(ok(X1), ok(X2)) → ok(U191(X1, X2))
s(ok(X)) → ok(s(X))
U81(ok(X)) → ok(U81(X))
proper(0) → ok(0)
U131(mark(X1), X2) → mark(U131(X1, X2))
U211(ok(X1), ok(X2)) → ok(U211(X1, X2))
U111(ok(X)) → ok(U111(X))
U52(ok(X)) → ok(U52(X))
U52(mark(X)) → mark(U52(X))
take(mark(X1), X2) → mark(take(X1, X2))
U51(mark(X1), X2) → mark(U51(X1, X2))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U71(ok(X)) → ok(U71(X))
U22(mark(X1), X2) → mark(U22(X1, X2))
pair(X1, mark(X2)) → mark(pair(X1, X2))
U61(mark(X)) → mark(U61(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
snd(mark(X)) → mark(snd(X))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U141(mark(X1), X2) → mark(U141(X1, X2))
U42(ok(X)) → ok(U42(X))
U191(mark(X1), X2) → mark(U191(X1, X2))
U211(mark(X1), X2) → mark(U211(X1, X2))
U152(ok(X)) → ok(U152(X))
head(ok(X)) → ok(head(X))
afterNth(mark(X1), X2) → mark(afterNth(X1, X2))
U161(ok(X1), ok(X2)) → ok(U161(X1, X2))
U171(ok(X1), ok(X2), ok(X3)) → ok(U171(X1, X2, X3))
U182(mark(X1), X2) → mark(U182(X1, X2))
U201(mark(X1), X2, X3, X4) → mark(U201(X1, X2, X3, X4))
U182(ok(X1), ok(X2)) → ok(U182(X1, X2))
U102(ok(X)) → ok(U102(X))
isLNat(ok(X)) → ok(isLNat(X))
U81(mark(X)) → mark(U81(X))
splitAt(ok(X1), ok(X2)) → ok(splitAt(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U132(mark(X)) → mark(U132(X))
U111(mark(X)) → mark(U111(X))

Rewrite Strategy: FULL

(3) RcToIrcProof (BOTH BOUNDS(ID, ID) transformation)

Converted rc-obligation to irc-obligation.

As the TRS is a non-duplicating overlay system, we have rc = irc.

(4) Obligation:

The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(1, n^1).


The TRS R consists of the following rules:

U202(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U202(X1, X2, X3, X4))
top(ok(X)) → top(active(X))
U71(mark(X)) → mark(U71(X))
U61(ok(X)) → ok(U61(X))
pair(mark(X1), X2) → mark(pair(X1, X2))
U41(mark(X1), X2) → mark(U41(X1, X2))
sel(ok(X1), ok(X2)) → ok(sel(X1, X2))
U42(mark(X)) → mark(U42(X))
U181(ok(X1), ok(X2)) → ok(U181(X1, X2))
U142(ok(X)) → ok(U142(X))
U152(mark(X)) → mark(U152(X))
proper(tt) → ok(tt)
proper(nil) → ok(nil)
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U203(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U203(X1, X2, X3, X4))
U201(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U201(X1, X2, X3, X4))
splitAt(X1, mark(X2)) → mark(splitAt(X1, X2))
head(mark(X)) → mark(head(X))
sel(mark(X1), X2) → mark(sel(X1, X2))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U151(ok(X1), ok(X2)) → ok(U151(X1, X2))
fst(mark(X)) → mark(fst(X))
afterNth(ok(X1), ok(X2)) → ok(afterNth(X1, X2))
tail(mark(X)) → mark(tail(X))
U181(mark(X1), X2) → mark(U181(X1, X2))
U21(ok(X1), ok(X2), ok(X3)) → ok(U21(X1, X2, X3))
U132(ok(X)) → ok(U132(X))
U21(mark(X1), X2, X3) → mark(U21(X1, X2, X3))
afterNth(X1, mark(X2)) → mark(afterNth(X1, X2))
U212(mark(X1), X2) → mark(U212(X1, X2))
U12(mark(X1), X2, X3) → mark(U12(X1, X2, X3))
U141(ok(X1), ok(X2)) → ok(U141(X1, X2))
U212(ok(X1), ok(X2)) → ok(U212(X1, X2))
U142(mark(X)) → mark(U142(X))
take(X1, mark(X2)) → mark(take(X1, X2))
U121(mark(X)) → mark(U121(X))
U203(mark(X1), X2, X3, X4) → mark(U203(X1, X2, X3, X4))
pair(ok(X1), ok(X2)) → ok(pair(X1, X2))
U91(ok(X)) → ok(U91(X))
U101(mark(X1), X2) → mark(U101(X1, X2))
U41(ok(X1), ok(X2)) → ok(U41(X1, X2))
U151(mark(X1), X2) → mark(U151(X1, X2))
natsFrom(mark(X)) → mark(natsFrom(X))
U171(mark(X1), X2, X3) → mark(U171(X1, X2, X3))
U204(ok(X1), ok(X2)) → ok(U204(X1, X2))
s(mark(X)) → mark(s(X))
fst(ok(X)) → ok(fst(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
top(mark(X)) → top(proper(X))
U31(ok(X1), ok(X2), ok(X3)) → ok(U31(X1, X2, X3))
isNatural(ok(X)) → ok(isNatural(X))
U202(mark(X1), X2, X3, X4) → mark(U202(X1, X2, X3, X4))
U221(mark(X1), X2, X3) → mark(U221(X1, X2, X3))
U32(mark(X1), X2) → mark(U32(X1, X2))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U221(ok(X1), ok(X2), ok(X3)) → ok(U221(X1, X2, X3))
tail(ok(X)) → ok(tail(X))
U131(ok(X1), ok(X2)) → ok(U131(X1, X2))
snd(ok(X)) → ok(snd(X))
U161(mark(X1), X2) → mark(U161(X1, X2))
U172(ok(X1), ok(X2), ok(X3)) → ok(U172(X1, X2, X3))
U172(mark(X1), X2, X3) → mark(U172(X1, X2, X3))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
splitAt(mark(X1), X2) → mark(splitAt(X1, X2))
sel(X1, mark(X2)) → mark(sel(X1, X2))
U31(mark(X1), X2, X3) → mark(U31(X1, X2, X3))
isPLNat(ok(X)) → ok(isPLNat(X))
U204(mark(X1), X2) → mark(U204(X1, X2))
U91(mark(X)) → mark(U91(X))
U121(ok(X)) → ok(U121(X))
U222(ok(X1), ok(X2), ok(X3)) → ok(U222(X1, X2, X3))
U102(mark(X)) → mark(U102(X))
U222(mark(X1), X2, X3) → mark(U222(X1, X2, X3))
natsFrom(ok(X)) → ok(natsFrom(X))
U101(ok(X1), ok(X2)) → ok(U101(X1, X2))
U191(ok(X1), ok(X2)) → ok(U191(X1, X2))
s(ok(X)) → ok(s(X))
U81(ok(X)) → ok(U81(X))
proper(0) → ok(0)
U131(mark(X1), X2) → mark(U131(X1, X2))
U211(ok(X1), ok(X2)) → ok(U211(X1, X2))
U111(ok(X)) → ok(U111(X))
U52(ok(X)) → ok(U52(X))
U52(mark(X)) → mark(U52(X))
take(mark(X1), X2) → mark(take(X1, X2))
U51(mark(X1), X2) → mark(U51(X1, X2))
U12(ok(X1), ok(X2), ok(X3)) → ok(U12(X1, X2, X3))
U71(ok(X)) → ok(U71(X))
U22(mark(X1), X2) → mark(U22(X1, X2))
pair(X1, mark(X2)) → mark(pair(X1, X2))
U61(mark(X)) → mark(U61(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
snd(mark(X)) → mark(snd(X))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U141(mark(X1), X2) → mark(U141(X1, X2))
U42(ok(X)) → ok(U42(X))
U191(mark(X1), X2) → mark(U191(X1, X2))
U211(mark(X1), X2) → mark(U211(X1, X2))
U152(ok(X)) → ok(U152(X))
head(ok(X)) → ok(head(X))
afterNth(mark(X1), X2) → mark(afterNth(X1, X2))
U161(ok(X1), ok(X2)) → ok(U161(X1, X2))
U171(ok(X1), ok(X2), ok(X3)) → ok(U171(X1, X2, X3))
U182(mark(X1), X2) → mark(U182(X1, X2))
U201(mark(X1), X2, X3, X4) → mark(U201(X1, X2, X3, X4))
U182(ok(X1), ok(X2)) → ok(U182(X1, X2))
U102(ok(X)) → ok(U102(X))
isLNat(ok(X)) → ok(isLNat(X))
U81(mark(X)) → mark(U81(X))
splitAt(ok(X1), ok(X2)) → ok(splitAt(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U132(mark(X)) → mark(U132(X))
U111(mark(X)) → mark(U111(X))

Rewrite Strategy: INNERMOST

(5) CpxTrsToCdtProof (BOTH BOUNDS(ID, ID) transformation)

Converted Cpx (relative) TRS to CDT

(6) Obligation:

Complexity Dependency Tuples Problem
Rules:

U202(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U202(z0, z1, z2, z3))
U202(mark(z0), z1, z2, z3) → mark(U202(z0, z1, z2, z3))
top(ok(z0)) → top(active(z0))
top(mark(z0)) → top(proper(z0))
U71(mark(z0)) → mark(U71(z0))
U71(ok(z0)) → ok(U71(z0))
U61(ok(z0)) → ok(U61(z0))
U61(mark(z0)) → mark(U61(z0))
pair(mark(z0), z1) → mark(pair(z0, z1))
pair(ok(z0), ok(z1)) → ok(pair(z0, z1))
pair(z0, mark(z1)) → mark(pair(z0, z1))
U41(mark(z0), z1) → mark(U41(z0, z1))
U41(ok(z0), ok(z1)) → ok(U41(z0, z1))
sel(ok(z0), ok(z1)) → ok(sel(z0, z1))
sel(mark(z0), z1) → mark(sel(z0, z1))
sel(z0, mark(z1)) → mark(sel(z0, z1))
U42(mark(z0)) → mark(U42(z0))
U42(ok(z0)) → ok(U42(z0))
U181(ok(z0), ok(z1)) → ok(U181(z0, z1))
U181(mark(z0), z1) → mark(U181(z0, z1))
U142(ok(z0)) → ok(U142(z0))
U142(mark(z0)) → mark(U142(z0))
U152(mark(z0)) → mark(U152(z0))
U152(ok(z0)) → ok(U152(z0))
proper(tt) → ok(tt)
proper(nil) → ok(nil)
proper(0) → ok(0)
U11(mark(z0), z1, z2) → mark(U11(z0, z1, z2))
U11(ok(z0), ok(z1), ok(z2)) → ok(U11(z0, z1, z2))
U203(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U203(z0, z1, z2, z3))
U203(mark(z0), z1, z2, z3) → mark(U203(z0, z1, z2, z3))
U201(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U201(z0, z1, z2, z3))
U201(mark(z0), z1, z2, z3) → mark(U201(z0, z1, z2, z3))
splitAt(z0, mark(z1)) → mark(splitAt(z0, z1))
splitAt(mark(z0), z1) → mark(splitAt(z0, z1))
splitAt(ok(z0), ok(z1)) → ok(splitAt(z0, z1))
head(mark(z0)) → mark(head(z0))
head(ok(z0)) → ok(head(z0))
U151(ok(z0), ok(z1)) → ok(U151(z0, z1))
U151(mark(z0), z1) → mark(U151(z0, z1))
fst(mark(z0)) → mark(fst(z0))
fst(ok(z0)) → ok(fst(z0))
afterNth(ok(z0), ok(z1)) → ok(afterNth(z0, z1))
afterNth(z0, mark(z1)) → mark(afterNth(z0, z1))
afterNth(mark(z0), z1) → mark(afterNth(z0, z1))
tail(mark(z0)) → mark(tail(z0))
tail(ok(z0)) → ok(tail(z0))
U21(ok(z0), ok(z1), ok(z2)) → ok(U21(z0, z1, z2))
U21(mark(z0), z1, z2) → mark(U21(z0, z1, z2))
U132(ok(z0)) → ok(U132(z0))
U132(mark(z0)) → mark(U132(z0))
U212(mark(z0), z1) → mark(U212(z0, z1))
U212(ok(z0), ok(z1)) → ok(U212(z0, z1))
U12(mark(z0), z1, z2) → mark(U12(z0, z1, z2))
U12(ok(z0), ok(z1), ok(z2)) → ok(U12(z0, z1, z2))
U141(ok(z0), ok(z1)) → ok(U141(z0, z1))
U141(mark(z0), z1) → mark(U141(z0, z1))
take(z0, mark(z1)) → mark(take(z0, z1))
take(mark(z0), z1) → mark(take(z0, z1))
take(ok(z0), ok(z1)) → ok(take(z0, z1))
U121(mark(z0)) → mark(U121(z0))
U121(ok(z0)) → ok(U121(z0))
U91(ok(z0)) → ok(U91(z0))
U91(mark(z0)) → mark(U91(z0))
U101(mark(z0), z1) → mark(U101(z0, z1))
U101(ok(z0), ok(z1)) → ok(U101(z0, z1))
natsFrom(mark(z0)) → mark(natsFrom(z0))
natsFrom(ok(z0)) → ok(natsFrom(z0))
U171(mark(z0), z1, z2) → mark(U171(z0, z1, z2))
U171(ok(z0), ok(z1), ok(z2)) → ok(U171(z0, z1, z2))
U204(ok(z0), ok(z1)) → ok(U204(z0, z1))
U204(mark(z0), z1) → mark(U204(z0, z1))
s(mark(z0)) → mark(s(z0))
s(ok(z0)) → ok(s(z0))
cons(mark(z0), z1) → mark(cons(z0, z1))
cons(ok(z0), ok(z1)) → ok(cons(z0, z1))
U31(ok(z0), ok(z1), ok(z2)) → ok(U31(z0, z1, z2))
U31(mark(z0), z1, z2) → mark(U31(z0, z1, z2))
isNatural(ok(z0)) → ok(isNatural(z0))
U221(mark(z0), z1, z2) → mark(U221(z0, z1, z2))
U221(ok(z0), ok(z1), ok(z2)) → ok(U221(z0, z1, z2))
U32(mark(z0), z1) → mark(U32(z0, z1))
U32(ok(z0), ok(z1)) → ok(U32(z0, z1))
U131(ok(z0), ok(z1)) → ok(U131(z0, z1))
U131(mark(z0), z1) → mark(U131(z0, z1))
snd(ok(z0)) → ok(snd(z0))
snd(mark(z0)) → mark(snd(z0))
U161(mark(z0), z1) → mark(U161(z0, z1))
U161(ok(z0), ok(z1)) → ok(U161(z0, z1))
U172(ok(z0), ok(z1), ok(z2)) → ok(U172(z0, z1, z2))
U172(mark(z0), z1, z2) → mark(U172(z0, z1, z2))
isPLNat(ok(z0)) → ok(isPLNat(z0))
U222(ok(z0), ok(z1), ok(z2)) → ok(U222(z0, z1, z2))
U222(mark(z0), z1, z2) → mark(U222(z0, z1, z2))
U102(mark(z0)) → mark(U102(z0))
U102(ok(z0)) → ok(U102(z0))
U191(ok(z0), ok(z1)) → ok(U191(z0, z1))
U191(mark(z0), z1) → mark(U191(z0, z1))
U81(ok(z0)) → ok(U81(z0))
U81(mark(z0)) → mark(U81(z0))
U211(ok(z0), ok(z1)) → ok(U211(z0, z1))
U211(mark(z0), z1) → mark(U211(z0, z1))
U111(ok(z0)) → ok(U111(z0))
U111(mark(z0)) → mark(U111(z0))
U52(ok(z0)) → ok(U52(z0))
U52(mark(z0)) → mark(U52(z0))
U51(mark(z0), z1) → mark(U51(z0, z1))
U51(ok(z0), ok(z1)) → ok(U51(z0, z1))
U22(mark(z0), z1) → mark(U22(z0, z1))
U22(ok(z0), ok(z1)) → ok(U22(z0, z1))
U182(mark(z0), z1) → mark(U182(z0, z1))
U182(ok(z0), ok(z1)) → ok(U182(z0, z1))
isLNat(ok(z0)) → ok(isLNat(z0))
Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
TOP(ok(z0)) → c2(TOP(active(z0)))
TOP(mark(z0)) → c3(TOP(proper(z0)), PROPER(z0))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
PROPER(tt) → c24
PROPER(nil) → c25
PROPER(0) → c26
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
S tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
TOP(ok(z0)) → c2(TOP(active(z0)))
TOP(mark(z0)) → c3(TOP(proper(z0)), PROPER(z0))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
PROPER(tt) → c24
PROPER(nil) → c25
PROPER(0) → c26
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
K tuples:none
Defined Rule Symbols:

U202, top, U71, U61, pair, U41, sel, U42, U181, U142, U152, proper, U11, U203, U201, splitAt, head, U151, fst, afterNth, tail, U21, U132, U212, U12, U141, take, U121, U91, U101, natsFrom, U171, U204, s, cons, U31, isNatural, U221, U32, U131, snd, U161, U172, isPLNat, U222, U102, U191, U81, U211, U111, U52, U51, U22, U182, isLNat

Defined Pair Symbols:

U202', TOP, U71', U61', PAIR, U41', SEL, U42', U181', U142', U152', PROPER, U11', U203', U201', SPLITAT, HEAD, U151', FST, AFTERNTH, TAIL, U21', U132', U212', U12', U141', TAKE, U121', U91', U101', NATSFROM, U171', U204', S, CONS, U31', ISNATURAL, U221', U32', U131', SND, U161', U172', ISPLNAT, U222', U102', U191', U81', U211', U111', U52', U51', U22', U182', ISLNAT

Compound Symbols:

c, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c24, c25, c26, c27, c28, c29, c30, c31, c32, c33, c34, c35, c36, c37, c38, c39, c40, c41, c42, c43, c44, c45, c46, c47, c48, c49, c50, c51, c52, c53, c54, c55, c56, c57, c58, c59, c60, c61, c62, c63, c64, c65, c66, c67, c68, c69, c70, c71, c72, c73, c74, c75, c76, c77, c78, c79, c80, c81, c82, c83, c84, c85, c86, c87, c88, c89, c90, c91, c92, c93, c94, c95, c96, c97, c98, c99, c100, c101, c102, c103, c104, c105, c106, c107, c108, c109, c110, c111, c112

(7) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID) transformation)

Removed 4 trailing nodes:

PROPER(0) → c26
PROPER(tt) → c24
TOP(ok(z0)) → c2(TOP(active(z0)))
PROPER(nil) → c25

(8) Obligation:

Complexity Dependency Tuples Problem
Rules:

U202(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U202(z0, z1, z2, z3))
U202(mark(z0), z1, z2, z3) → mark(U202(z0, z1, z2, z3))
top(ok(z0)) → top(active(z0))
top(mark(z0)) → top(proper(z0))
U71(mark(z0)) → mark(U71(z0))
U71(ok(z0)) → ok(U71(z0))
U61(ok(z0)) → ok(U61(z0))
U61(mark(z0)) → mark(U61(z0))
pair(mark(z0), z1) → mark(pair(z0, z1))
pair(ok(z0), ok(z1)) → ok(pair(z0, z1))
pair(z0, mark(z1)) → mark(pair(z0, z1))
U41(mark(z0), z1) → mark(U41(z0, z1))
U41(ok(z0), ok(z1)) → ok(U41(z0, z1))
sel(ok(z0), ok(z1)) → ok(sel(z0, z1))
sel(mark(z0), z1) → mark(sel(z0, z1))
sel(z0, mark(z1)) → mark(sel(z0, z1))
U42(mark(z0)) → mark(U42(z0))
U42(ok(z0)) → ok(U42(z0))
U181(ok(z0), ok(z1)) → ok(U181(z0, z1))
U181(mark(z0), z1) → mark(U181(z0, z1))
U142(ok(z0)) → ok(U142(z0))
U142(mark(z0)) → mark(U142(z0))
U152(mark(z0)) → mark(U152(z0))
U152(ok(z0)) → ok(U152(z0))
proper(tt) → ok(tt)
proper(nil) → ok(nil)
proper(0) → ok(0)
U11(mark(z0), z1, z2) → mark(U11(z0, z1, z2))
U11(ok(z0), ok(z1), ok(z2)) → ok(U11(z0, z1, z2))
U203(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U203(z0, z1, z2, z3))
U203(mark(z0), z1, z2, z3) → mark(U203(z0, z1, z2, z3))
U201(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U201(z0, z1, z2, z3))
U201(mark(z0), z1, z2, z3) → mark(U201(z0, z1, z2, z3))
splitAt(z0, mark(z1)) → mark(splitAt(z0, z1))
splitAt(mark(z0), z1) → mark(splitAt(z0, z1))
splitAt(ok(z0), ok(z1)) → ok(splitAt(z0, z1))
head(mark(z0)) → mark(head(z0))
head(ok(z0)) → ok(head(z0))
U151(ok(z0), ok(z1)) → ok(U151(z0, z1))
U151(mark(z0), z1) → mark(U151(z0, z1))
fst(mark(z0)) → mark(fst(z0))
fst(ok(z0)) → ok(fst(z0))
afterNth(ok(z0), ok(z1)) → ok(afterNth(z0, z1))
afterNth(z0, mark(z1)) → mark(afterNth(z0, z1))
afterNth(mark(z0), z1) → mark(afterNth(z0, z1))
tail(mark(z0)) → mark(tail(z0))
tail(ok(z0)) → ok(tail(z0))
U21(ok(z0), ok(z1), ok(z2)) → ok(U21(z0, z1, z2))
U21(mark(z0), z1, z2) → mark(U21(z0, z1, z2))
U132(ok(z0)) → ok(U132(z0))
U132(mark(z0)) → mark(U132(z0))
U212(mark(z0), z1) → mark(U212(z0, z1))
U212(ok(z0), ok(z1)) → ok(U212(z0, z1))
U12(mark(z0), z1, z2) → mark(U12(z0, z1, z2))
U12(ok(z0), ok(z1), ok(z2)) → ok(U12(z0, z1, z2))
U141(ok(z0), ok(z1)) → ok(U141(z0, z1))
U141(mark(z0), z1) → mark(U141(z0, z1))
take(z0, mark(z1)) → mark(take(z0, z1))
take(mark(z0), z1) → mark(take(z0, z1))
take(ok(z0), ok(z1)) → ok(take(z0, z1))
U121(mark(z0)) → mark(U121(z0))
U121(ok(z0)) → ok(U121(z0))
U91(ok(z0)) → ok(U91(z0))
U91(mark(z0)) → mark(U91(z0))
U101(mark(z0), z1) → mark(U101(z0, z1))
U101(ok(z0), ok(z1)) → ok(U101(z0, z1))
natsFrom(mark(z0)) → mark(natsFrom(z0))
natsFrom(ok(z0)) → ok(natsFrom(z0))
U171(mark(z0), z1, z2) → mark(U171(z0, z1, z2))
U171(ok(z0), ok(z1), ok(z2)) → ok(U171(z0, z1, z2))
U204(ok(z0), ok(z1)) → ok(U204(z0, z1))
U204(mark(z0), z1) → mark(U204(z0, z1))
s(mark(z0)) → mark(s(z0))
s(ok(z0)) → ok(s(z0))
cons(mark(z0), z1) → mark(cons(z0, z1))
cons(ok(z0), ok(z1)) → ok(cons(z0, z1))
U31(ok(z0), ok(z1), ok(z2)) → ok(U31(z0, z1, z2))
U31(mark(z0), z1, z2) → mark(U31(z0, z1, z2))
isNatural(ok(z0)) → ok(isNatural(z0))
U221(mark(z0), z1, z2) → mark(U221(z0, z1, z2))
U221(ok(z0), ok(z1), ok(z2)) → ok(U221(z0, z1, z2))
U32(mark(z0), z1) → mark(U32(z0, z1))
U32(ok(z0), ok(z1)) → ok(U32(z0, z1))
U131(ok(z0), ok(z1)) → ok(U131(z0, z1))
U131(mark(z0), z1) → mark(U131(z0, z1))
snd(ok(z0)) → ok(snd(z0))
snd(mark(z0)) → mark(snd(z0))
U161(mark(z0), z1) → mark(U161(z0, z1))
U161(ok(z0), ok(z1)) → ok(U161(z0, z1))
U172(ok(z0), ok(z1), ok(z2)) → ok(U172(z0, z1, z2))
U172(mark(z0), z1, z2) → mark(U172(z0, z1, z2))
isPLNat(ok(z0)) → ok(isPLNat(z0))
U222(ok(z0), ok(z1), ok(z2)) → ok(U222(z0, z1, z2))
U222(mark(z0), z1, z2) → mark(U222(z0, z1, z2))
U102(mark(z0)) → mark(U102(z0))
U102(ok(z0)) → ok(U102(z0))
U191(ok(z0), ok(z1)) → ok(U191(z0, z1))
U191(mark(z0), z1) → mark(U191(z0, z1))
U81(ok(z0)) → ok(U81(z0))
U81(mark(z0)) → mark(U81(z0))
U211(ok(z0), ok(z1)) → ok(U211(z0, z1))
U211(mark(z0), z1) → mark(U211(z0, z1))
U111(ok(z0)) → ok(U111(z0))
U111(mark(z0)) → mark(U111(z0))
U52(ok(z0)) → ok(U52(z0))
U52(mark(z0)) → mark(U52(z0))
U51(mark(z0), z1) → mark(U51(z0, z1))
U51(ok(z0), ok(z1)) → ok(U51(z0, z1))
U22(mark(z0), z1) → mark(U22(z0, z1))
U22(ok(z0), ok(z1)) → ok(U22(z0, z1))
U182(mark(z0), z1) → mark(U182(z0, z1))
U182(ok(z0), ok(z1)) → ok(U182(z0, z1))
isLNat(ok(z0)) → ok(isLNat(z0))
Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
TOP(mark(z0)) → c3(TOP(proper(z0)), PROPER(z0))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
S tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
TOP(mark(z0)) → c3(TOP(proper(z0)), PROPER(z0))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
K tuples:none
Defined Rule Symbols:

U202, top, U71, U61, pair, U41, sel, U42, U181, U142, U152, proper, U11, U203, U201, splitAt, head, U151, fst, afterNth, tail, U21, U132, U212, U12, U141, take, U121, U91, U101, natsFrom, U171, U204, s, cons, U31, isNatural, U221, U32, U131, snd, U161, U172, isPLNat, U222, U102, U191, U81, U211, U111, U52, U51, U22, U182, isLNat

Defined Pair Symbols:

U202', TOP, U71', U61', PAIR, U41', SEL, U42', U181', U142', U152', U11', U203', U201', SPLITAT, HEAD, U151', FST, AFTERNTH, TAIL, U21', U132', U212', U12', U141', TAKE, U121', U91', U101', NATSFROM, U171', U204', S, CONS, U31', ISNATURAL, U221', U32', U131', SND, U161', U172', ISPLNAT, U222', U102', U191', U81', U211', U111', U52', U51', U22', U182', ISLNAT

Compound Symbols:

c, c1, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c27, c28, c29, c30, c31, c32, c33, c34, c35, c36, c37, c38, c39, c40, c41, c42, c43, c44, c45, c46, c47, c48, c49, c50, c51, c52, c53, c54, c55, c56, c57, c58, c59, c60, c61, c62, c63, c64, c65, c66, c67, c68, c69, c70, c71, c72, c73, c74, c75, c76, c77, c78, c79, c80, c81, c82, c83, c84, c85, c86, c87, c88, c89, c90, c91, c92, c93, c94, c95, c96, c97, c98, c99, c100, c101, c102, c103, c104, c105, c106, c107, c108, c109, c110, c111, c112

(9) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID) transformation)

Removed 1 trailing tuple parts

(10) Obligation:

Complexity Dependency Tuples Problem
Rules:

U202(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U202(z0, z1, z2, z3))
U202(mark(z0), z1, z2, z3) → mark(U202(z0, z1, z2, z3))
top(ok(z0)) → top(active(z0))
top(mark(z0)) → top(proper(z0))
U71(mark(z0)) → mark(U71(z0))
U71(ok(z0)) → ok(U71(z0))
U61(ok(z0)) → ok(U61(z0))
U61(mark(z0)) → mark(U61(z0))
pair(mark(z0), z1) → mark(pair(z0, z1))
pair(ok(z0), ok(z1)) → ok(pair(z0, z1))
pair(z0, mark(z1)) → mark(pair(z0, z1))
U41(mark(z0), z1) → mark(U41(z0, z1))
U41(ok(z0), ok(z1)) → ok(U41(z0, z1))
sel(ok(z0), ok(z1)) → ok(sel(z0, z1))
sel(mark(z0), z1) → mark(sel(z0, z1))
sel(z0, mark(z1)) → mark(sel(z0, z1))
U42(mark(z0)) → mark(U42(z0))
U42(ok(z0)) → ok(U42(z0))
U181(ok(z0), ok(z1)) → ok(U181(z0, z1))
U181(mark(z0), z1) → mark(U181(z0, z1))
U142(ok(z0)) → ok(U142(z0))
U142(mark(z0)) → mark(U142(z0))
U152(mark(z0)) → mark(U152(z0))
U152(ok(z0)) → ok(U152(z0))
proper(tt) → ok(tt)
proper(nil) → ok(nil)
proper(0) → ok(0)
U11(mark(z0), z1, z2) → mark(U11(z0, z1, z2))
U11(ok(z0), ok(z1), ok(z2)) → ok(U11(z0, z1, z2))
U203(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U203(z0, z1, z2, z3))
U203(mark(z0), z1, z2, z3) → mark(U203(z0, z1, z2, z3))
U201(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U201(z0, z1, z2, z3))
U201(mark(z0), z1, z2, z3) → mark(U201(z0, z1, z2, z3))
splitAt(z0, mark(z1)) → mark(splitAt(z0, z1))
splitAt(mark(z0), z1) → mark(splitAt(z0, z1))
splitAt(ok(z0), ok(z1)) → ok(splitAt(z0, z1))
head(mark(z0)) → mark(head(z0))
head(ok(z0)) → ok(head(z0))
U151(ok(z0), ok(z1)) → ok(U151(z0, z1))
U151(mark(z0), z1) → mark(U151(z0, z1))
fst(mark(z0)) → mark(fst(z0))
fst(ok(z0)) → ok(fst(z0))
afterNth(ok(z0), ok(z1)) → ok(afterNth(z0, z1))
afterNth(z0, mark(z1)) → mark(afterNth(z0, z1))
afterNth(mark(z0), z1) → mark(afterNth(z0, z1))
tail(mark(z0)) → mark(tail(z0))
tail(ok(z0)) → ok(tail(z0))
U21(ok(z0), ok(z1), ok(z2)) → ok(U21(z0, z1, z2))
U21(mark(z0), z1, z2) → mark(U21(z0, z1, z2))
U132(ok(z0)) → ok(U132(z0))
U132(mark(z0)) → mark(U132(z0))
U212(mark(z0), z1) → mark(U212(z0, z1))
U212(ok(z0), ok(z1)) → ok(U212(z0, z1))
U12(mark(z0), z1, z2) → mark(U12(z0, z1, z2))
U12(ok(z0), ok(z1), ok(z2)) → ok(U12(z0, z1, z2))
U141(ok(z0), ok(z1)) → ok(U141(z0, z1))
U141(mark(z0), z1) → mark(U141(z0, z1))
take(z0, mark(z1)) → mark(take(z0, z1))
take(mark(z0), z1) → mark(take(z0, z1))
take(ok(z0), ok(z1)) → ok(take(z0, z1))
U121(mark(z0)) → mark(U121(z0))
U121(ok(z0)) → ok(U121(z0))
U91(ok(z0)) → ok(U91(z0))
U91(mark(z0)) → mark(U91(z0))
U101(mark(z0), z1) → mark(U101(z0, z1))
U101(ok(z0), ok(z1)) → ok(U101(z0, z1))
natsFrom(mark(z0)) → mark(natsFrom(z0))
natsFrom(ok(z0)) → ok(natsFrom(z0))
U171(mark(z0), z1, z2) → mark(U171(z0, z1, z2))
U171(ok(z0), ok(z1), ok(z2)) → ok(U171(z0, z1, z2))
U204(ok(z0), ok(z1)) → ok(U204(z0, z1))
U204(mark(z0), z1) → mark(U204(z0, z1))
s(mark(z0)) → mark(s(z0))
s(ok(z0)) → ok(s(z0))
cons(mark(z0), z1) → mark(cons(z0, z1))
cons(ok(z0), ok(z1)) → ok(cons(z0, z1))
U31(ok(z0), ok(z1), ok(z2)) → ok(U31(z0, z1, z2))
U31(mark(z0), z1, z2) → mark(U31(z0, z1, z2))
isNatural(ok(z0)) → ok(isNatural(z0))
U221(mark(z0), z1, z2) → mark(U221(z0, z1, z2))
U221(ok(z0), ok(z1), ok(z2)) → ok(U221(z0, z1, z2))
U32(mark(z0), z1) → mark(U32(z0, z1))
U32(ok(z0), ok(z1)) → ok(U32(z0, z1))
U131(ok(z0), ok(z1)) → ok(U131(z0, z1))
U131(mark(z0), z1) → mark(U131(z0, z1))
snd(ok(z0)) → ok(snd(z0))
snd(mark(z0)) → mark(snd(z0))
U161(mark(z0), z1) → mark(U161(z0, z1))
U161(ok(z0), ok(z1)) → ok(U161(z0, z1))
U172(ok(z0), ok(z1), ok(z2)) → ok(U172(z0, z1, z2))
U172(mark(z0), z1, z2) → mark(U172(z0, z1, z2))
isPLNat(ok(z0)) → ok(isPLNat(z0))
U222(ok(z0), ok(z1), ok(z2)) → ok(U222(z0, z1, z2))
U222(mark(z0), z1, z2) → mark(U222(z0, z1, z2))
U102(mark(z0)) → mark(U102(z0))
U102(ok(z0)) → ok(U102(z0))
U191(ok(z0), ok(z1)) → ok(U191(z0, z1))
U191(mark(z0), z1) → mark(U191(z0, z1))
U81(ok(z0)) → ok(U81(z0))
U81(mark(z0)) → mark(U81(z0))
U211(ok(z0), ok(z1)) → ok(U211(z0, z1))
U211(mark(z0), z1) → mark(U211(z0, z1))
U111(ok(z0)) → ok(U111(z0))
U111(mark(z0)) → mark(U111(z0))
U52(ok(z0)) → ok(U52(z0))
U52(mark(z0)) → mark(U52(z0))
U51(mark(z0), z1) → mark(U51(z0, z1))
U51(ok(z0), ok(z1)) → ok(U51(z0, z1))
U22(mark(z0), z1) → mark(U22(z0, z1))
U22(ok(z0), ok(z1)) → ok(U22(z0, z1))
U182(mark(z0), z1) → mark(U182(z0, z1))
U182(ok(z0), ok(z1)) → ok(U182(z0, z1))
isLNat(ok(z0)) → ok(isLNat(z0))
Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
S tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
K tuples:none
Defined Rule Symbols:

U202, top, U71, U61, pair, U41, sel, U42, U181, U142, U152, proper, U11, U203, U201, splitAt, head, U151, fst, afterNth, tail, U21, U132, U212, U12, U141, take, U121, U91, U101, natsFrom, U171, U204, s, cons, U31, isNatural, U221, U32, U131, snd, U161, U172, isPLNat, U222, U102, U191, U81, U211, U111, U52, U51, U22, U182, isLNat

Defined Pair Symbols:

U202', U71', U61', PAIR, U41', SEL, U42', U181', U142', U152', U11', U203', U201', SPLITAT, HEAD, U151', FST, AFTERNTH, TAIL, U21', U132', U212', U12', U141', TAKE, U121', U91', U101', NATSFROM, U171', U204', S, CONS, U31', ISNATURAL, U221', U32', U131', SND, U161', U172', ISPLNAT, U222', U102', U191', U81', U211', U111', U52', U51', U22', U182', ISLNAT, TOP

Compound Symbols:

c, c1, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c27, c28, c29, c30, c31, c32, c33, c34, c35, c36, c37, c38, c39, c40, c41, c42, c43, c44, c45, c46, c47, c48, c49, c50, c51, c52, c53, c54, c55, c56, c57, c58, c59, c60, c61, c62, c63, c64, c65, c66, c67, c68, c69, c70, c71, c72, c73, c74, c75, c76, c77, c78, c79, c80, c81, c82, c83, c84, c85, c86, c87, c88, c89, c90, c91, c92, c93, c94, c95, c96, c97, c98, c99, c100, c101, c102, c103, c104, c105, c106, c107, c108, c109, c110, c111, c112, c3

(11) CdtUsableRulesProof (EQUIVALENT transformation)

The following rules are not usable and were removed:

U202(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U202(z0, z1, z2, z3))
U202(mark(z0), z1, z2, z3) → mark(U202(z0, z1, z2, z3))
top(ok(z0)) → top(active(z0))
top(mark(z0)) → top(proper(z0))
U71(mark(z0)) → mark(U71(z0))
U71(ok(z0)) → ok(U71(z0))
U61(ok(z0)) → ok(U61(z0))
U61(mark(z0)) → mark(U61(z0))
pair(mark(z0), z1) → mark(pair(z0, z1))
pair(ok(z0), ok(z1)) → ok(pair(z0, z1))
pair(z0, mark(z1)) → mark(pair(z0, z1))
U41(mark(z0), z1) → mark(U41(z0, z1))
U41(ok(z0), ok(z1)) → ok(U41(z0, z1))
sel(ok(z0), ok(z1)) → ok(sel(z0, z1))
sel(mark(z0), z1) → mark(sel(z0, z1))
sel(z0, mark(z1)) → mark(sel(z0, z1))
U42(mark(z0)) → mark(U42(z0))
U42(ok(z0)) → ok(U42(z0))
U181(ok(z0), ok(z1)) → ok(U181(z0, z1))
U181(mark(z0), z1) → mark(U181(z0, z1))
U142(ok(z0)) → ok(U142(z0))
U142(mark(z0)) → mark(U142(z0))
U152(mark(z0)) → mark(U152(z0))
U152(ok(z0)) → ok(U152(z0))
U11(mark(z0), z1, z2) → mark(U11(z0, z1, z2))
U11(ok(z0), ok(z1), ok(z2)) → ok(U11(z0, z1, z2))
U203(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U203(z0, z1, z2, z3))
U203(mark(z0), z1, z2, z3) → mark(U203(z0, z1, z2, z3))
U201(ok(z0), ok(z1), ok(z2), ok(z3)) → ok(U201(z0, z1, z2, z3))
U201(mark(z0), z1, z2, z3) → mark(U201(z0, z1, z2, z3))
splitAt(z0, mark(z1)) → mark(splitAt(z0, z1))
splitAt(mark(z0), z1) → mark(splitAt(z0, z1))
splitAt(ok(z0), ok(z1)) → ok(splitAt(z0, z1))
head(mark(z0)) → mark(head(z0))
head(ok(z0)) → ok(head(z0))
U151(ok(z0), ok(z1)) → ok(U151(z0, z1))
U151(mark(z0), z1) → mark(U151(z0, z1))
fst(mark(z0)) → mark(fst(z0))
fst(ok(z0)) → ok(fst(z0))
afterNth(ok(z0), ok(z1)) → ok(afterNth(z0, z1))
afterNth(z0, mark(z1)) → mark(afterNth(z0, z1))
afterNth(mark(z0), z1) → mark(afterNth(z0, z1))
tail(mark(z0)) → mark(tail(z0))
tail(ok(z0)) → ok(tail(z0))
U21(ok(z0), ok(z1), ok(z2)) → ok(U21(z0, z1, z2))
U21(mark(z0), z1, z2) → mark(U21(z0, z1, z2))
U132(ok(z0)) → ok(U132(z0))
U132(mark(z0)) → mark(U132(z0))
U212(mark(z0), z1) → mark(U212(z0, z1))
U212(ok(z0), ok(z1)) → ok(U212(z0, z1))
U12(mark(z0), z1, z2) → mark(U12(z0, z1, z2))
U12(ok(z0), ok(z1), ok(z2)) → ok(U12(z0, z1, z2))
U141(ok(z0), ok(z1)) → ok(U141(z0, z1))
U141(mark(z0), z1) → mark(U141(z0, z1))
take(z0, mark(z1)) → mark(take(z0, z1))
take(mark(z0), z1) → mark(take(z0, z1))
take(ok(z0), ok(z1)) → ok(take(z0, z1))
U121(mark(z0)) → mark(U121(z0))
U121(ok(z0)) → ok(U121(z0))
U91(ok(z0)) → ok(U91(z0))
U91(mark(z0)) → mark(U91(z0))
U101(mark(z0), z1) → mark(U101(z0, z1))
U101(ok(z0), ok(z1)) → ok(U101(z0, z1))
natsFrom(mark(z0)) → mark(natsFrom(z0))
natsFrom(ok(z0)) → ok(natsFrom(z0))
U171(mark(z0), z1, z2) → mark(U171(z0, z1, z2))
U171(ok(z0), ok(z1), ok(z2)) → ok(U171(z0, z1, z2))
U204(ok(z0), ok(z1)) → ok(U204(z0, z1))
U204(mark(z0), z1) → mark(U204(z0, z1))
s(mark(z0)) → mark(s(z0))
s(ok(z0)) → ok(s(z0))
cons(mark(z0), z1) → mark(cons(z0, z1))
cons(ok(z0), ok(z1)) → ok(cons(z0, z1))
U31(ok(z0), ok(z1), ok(z2)) → ok(U31(z0, z1, z2))
U31(mark(z0), z1, z2) → mark(U31(z0, z1, z2))
isNatural(ok(z0)) → ok(isNatural(z0))
U221(mark(z0), z1, z2) → mark(U221(z0, z1, z2))
U221(ok(z0), ok(z1), ok(z2)) → ok(U221(z0, z1, z2))
U32(mark(z0), z1) → mark(U32(z0, z1))
U32(ok(z0), ok(z1)) → ok(U32(z0, z1))
U131(ok(z0), ok(z1)) → ok(U131(z0, z1))
U131(mark(z0), z1) → mark(U131(z0, z1))
snd(ok(z0)) → ok(snd(z0))
snd(mark(z0)) → mark(snd(z0))
U161(mark(z0), z1) → mark(U161(z0, z1))
U161(ok(z0), ok(z1)) → ok(U161(z0, z1))
U172(ok(z0), ok(z1), ok(z2)) → ok(U172(z0, z1, z2))
U172(mark(z0), z1, z2) → mark(U172(z0, z1, z2))
isPLNat(ok(z0)) → ok(isPLNat(z0))
U222(ok(z0), ok(z1), ok(z2)) → ok(U222(z0, z1, z2))
U222(mark(z0), z1, z2) → mark(U222(z0, z1, z2))
U102(mark(z0)) → mark(U102(z0))
U102(ok(z0)) → ok(U102(z0))
U191(ok(z0), ok(z1)) → ok(U191(z0, z1))
U191(mark(z0), z1) → mark(U191(z0, z1))
U81(ok(z0)) → ok(U81(z0))
U81(mark(z0)) → mark(U81(z0))
U211(ok(z0), ok(z1)) → ok(U211(z0, z1))
U211(mark(z0), z1) → mark(U211(z0, z1))
U111(ok(z0)) → ok(U111(z0))
U111(mark(z0)) → mark(U111(z0))
U52(ok(z0)) → ok(U52(z0))
U52(mark(z0)) → mark(U52(z0))
U51(mark(z0), z1) → mark(U51(z0, z1))
U51(ok(z0), ok(z1)) → ok(U51(z0, z1))
U22(mark(z0), z1) → mark(U22(z0, z1))
U22(ok(z0), ok(z1)) → ok(U22(z0, z1))
U182(mark(z0), z1) → mark(U182(z0, z1))
U182(ok(z0), ok(z1)) → ok(U182(z0, z1))
isLNat(ok(z0)) → ok(isLNat(z0))

(12) Obligation:

Complexity Dependency Tuples Problem
Rules:

proper(tt) → ok(tt)
proper(nil) → ok(nil)
proper(0) → ok(0)
Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
S tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
K tuples:none
Defined Rule Symbols:

proper

Defined Pair Symbols:

U202', U71', U61', PAIR, U41', SEL, U42', U181', U142', U152', U11', U203', U201', SPLITAT, HEAD, U151', FST, AFTERNTH, TAIL, U21', U132', U212', U12', U141', TAKE, U121', U91', U101', NATSFROM, U171', U204', S, CONS, U31', ISNATURAL, U221', U32', U131', SND, U161', U172', ISPLNAT, U222', U102', U191', U81', U211', U111', U52', U51', U22', U182', ISLNAT, TOP

Compound Symbols:

c, c1, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c27, c28, c29, c30, c31, c32, c33, c34, c35, c36, c37, c38, c39, c40, c41, c42, c43, c44, c45, c46, c47, c48, c49, c50, c51, c52, c53, c54, c55, c56, c57, c58, c59, c60, c61, c62, c63, c64, c65, c66, c67, c68, c69, c70, c71, c72, c73, c74, c75, c76, c77, c78, c79, c80, c81, c82, c83, c84, c85, c86, c87, c88, c89, c90, c91, c92, c93, c94, c95, c96, c97, c98, c99, c100, c101, c102, c103, c104, c105, c106, c107, c108, c109, c110, c111, c112, c3

(13) CdtRuleRemovalProof (UPPER BOUND(ADD(n^1)) transformation)

Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.

TOP(mark(z0)) → c3(TOP(proper(z0)))
We considered the (Usable) Rules:

proper(tt) → ok(tt)
proper(nil) → ok(nil)
proper(0) → ok(0)
And the Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
The order we found is given by the following interpretation:
Polynomial interpretation :

POL(0) = 0   
POL(AFTERNTH(x1, x2)) = 0   
POL(CONS(x1, x2)) = 0   
POL(FST(x1)) = 0   
POL(HEAD(x1)) = 0   
POL(ISLNAT(x1)) = 0   
POL(ISNATURAL(x1)) = 0   
POL(ISPLNAT(x1)) = 0   
POL(NATSFROM(x1)) = 0   
POL(PAIR(x1, x2)) = 0   
POL(S(x1)) = 0   
POL(SEL(x1, x2)) = 0   
POL(SND(x1)) = 0   
POL(SPLITAT(x1, x2)) = 0   
POL(TAIL(x1)) = 0   
POL(TAKE(x1, x2)) = 0   
POL(TOP(x1)) = x1   
POL(U101'(x1, x2)) = 0   
POL(U102'(x1)) = 0   
POL(U11'(x1, x2, x3)) = 0   
POL(U111'(x1)) = 0   
POL(U12'(x1, x2, x3)) = 0   
POL(U121'(x1)) = 0   
POL(U131'(x1, x2)) = 0   
POL(U132'(x1)) = 0   
POL(U141'(x1, x2)) = 0   
POL(U142'(x1)) = 0   
POL(U151'(x1, x2)) = 0   
POL(U152'(x1)) = 0   
POL(U161'(x1, x2)) = 0   
POL(U171'(x1, x2, x3)) = 0   
POL(U172'(x1, x2, x3)) = 0   
POL(U181'(x1, x2)) = 0   
POL(U182'(x1, x2)) = 0   
POL(U191'(x1, x2)) = 0   
POL(U201'(x1, x2, x3, x4)) = 0   
POL(U202'(x1, x2, x3, x4)) = 0   
POL(U203'(x1, x2, x3, x4)) = 0   
POL(U204'(x1, x2)) = 0   
POL(U21'(x1, x2, x3)) = 0   
POL(U211'(x1, x2)) = 0   
POL(U212'(x1, x2)) = 0   
POL(U22'(x1, x2)) = 0   
POL(U221'(x1, x2, x3)) = 0   
POL(U222'(x1, x2, x3)) = 0   
POL(U31'(x1, x2, x3)) = 0   
POL(U32'(x1, x2)) = 0   
POL(U41'(x1, x2)) = 0   
POL(U42'(x1)) = 0   
POL(U51'(x1, x2)) = 0   
POL(U52'(x1)) = 0   
POL(U61'(x1)) = 0   
POL(U71'(x1)) = 0   
POL(U81'(x1)) = 0   
POL(U91'(x1)) = 0   
POL(c(x1)) = x1   
POL(c1(x1)) = x1   
POL(c10(x1)) = x1   
POL(c100(x1)) = x1   
POL(c101(x1)) = x1   
POL(c102(x1)) = x1   
POL(c103(x1)) = x1   
POL(c104(x1)) = x1   
POL(c105(x1)) = x1   
POL(c106(x1)) = x1   
POL(c107(x1)) = x1   
POL(c108(x1)) = x1   
POL(c109(x1)) = x1   
POL(c11(x1)) = x1   
POL(c110(x1)) = x1   
POL(c111(x1)) = x1   
POL(c112(x1)) = x1   
POL(c12(x1)) = x1   
POL(c13(x1)) = x1   
POL(c14(x1)) = x1   
POL(c15(x1)) = x1   
POL(c16(x1)) = x1   
POL(c17(x1)) = x1   
POL(c18(x1)) = x1   
POL(c19(x1)) = x1   
POL(c20(x1)) = x1   
POL(c21(x1)) = x1   
POL(c22(x1)) = x1   
POL(c23(x1)) = x1   
POL(c27(x1)) = x1   
POL(c28(x1)) = x1   
POL(c29(x1)) = x1   
POL(c3(x1)) = x1   
POL(c30(x1)) = x1   
POL(c31(x1)) = x1   
POL(c32(x1)) = x1   
POL(c33(x1)) = x1   
POL(c34(x1)) = x1   
POL(c35(x1)) = x1   
POL(c36(x1)) = x1   
POL(c37(x1)) = x1   
POL(c38(x1)) = x1   
POL(c39(x1)) = x1   
POL(c4(x1)) = x1   
POL(c40(x1)) = x1   
POL(c41(x1)) = x1   
POL(c42(x1)) = x1   
POL(c43(x1)) = x1   
POL(c44(x1)) = x1   
POL(c45(x1)) = x1   
POL(c46(x1)) = x1   
POL(c47(x1)) = x1   
POL(c48(x1)) = x1   
POL(c49(x1)) = x1   
POL(c5(x1)) = x1   
POL(c50(x1)) = x1   
POL(c51(x1)) = x1   
POL(c52(x1)) = x1   
POL(c53(x1)) = x1   
POL(c54(x1)) = x1   
POL(c55(x1)) = x1   
POL(c56(x1)) = x1   
POL(c57(x1)) = x1   
POL(c58(x1)) = x1   
POL(c59(x1)) = x1   
POL(c6(x1)) = x1   
POL(c60(x1)) = x1   
POL(c61(x1)) = x1   
POL(c62(x1)) = x1   
POL(c63(x1)) = x1   
POL(c64(x1)) = x1   
POL(c65(x1)) = x1   
POL(c66(x1)) = x1   
POL(c67(x1)) = x1   
POL(c68(x1)) = x1   
POL(c69(x1)) = x1   
POL(c7(x1)) = x1   
POL(c70(x1)) = x1   
POL(c71(x1)) = x1   
POL(c72(x1)) = x1   
POL(c73(x1)) = x1   
POL(c74(x1)) = x1   
POL(c75(x1)) = x1   
POL(c76(x1)) = x1   
POL(c77(x1)) = x1   
POL(c78(x1)) = x1   
POL(c79(x1)) = x1   
POL(c8(x1)) = x1   
POL(c80(x1)) = x1   
POL(c81(x1)) = x1   
POL(c82(x1)) = x1   
POL(c83(x1)) = x1   
POL(c84(x1)) = x1   
POL(c85(x1)) = x1   
POL(c86(x1)) = x1   
POL(c87(x1)) = x1   
POL(c88(x1)) = x1   
POL(c89(x1)) = x1   
POL(c9(x1)) = x1   
POL(c90(x1)) = x1   
POL(c91(x1)) = x1   
POL(c92(x1)) = x1   
POL(c93(x1)) = x1   
POL(c94(x1)) = x1   
POL(c95(x1)) = x1   
POL(c96(x1)) = x1   
POL(c97(x1)) = x1   
POL(c98(x1)) = x1   
POL(c99(x1)) = x1   
POL(mark(x1)) = [1] + x1   
POL(nil) = 0   
POL(ok(x1)) = 0   
POL(proper(x1)) = 0   
POL(tt) = 0   

(14) Obligation:

Complexity Dependency Tuples Problem
Rules:

proper(tt) → ok(tt)
proper(nil) → ok(nil)
proper(0) → ok(0)
Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
S tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
K tuples:

TOP(mark(z0)) → c3(TOP(proper(z0)))
Defined Rule Symbols:

proper

Defined Pair Symbols:

U202', U71', U61', PAIR, U41', SEL, U42', U181', U142', U152', U11', U203', U201', SPLITAT, HEAD, U151', FST, AFTERNTH, TAIL, U21', U132', U212', U12', U141', TAKE, U121', U91', U101', NATSFROM, U171', U204', S, CONS, U31', ISNATURAL, U221', U32', U131', SND, U161', U172', ISPLNAT, U222', U102', U191', U81', U211', U111', U52', U51', U22', U182', ISLNAT, TOP

Compound Symbols:

c, c1, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c27, c28, c29, c30, c31, c32, c33, c34, c35, c36, c37, c38, c39, c40, c41, c42, c43, c44, c45, c46, c47, c48, c49, c50, c51, c52, c53, c54, c55, c56, c57, c58, c59, c60, c61, c62, c63, c64, c65, c66, c67, c68, c69, c70, c71, c72, c73, c74, c75, c76, c77, c78, c79, c80, c81, c82, c83, c84, c85, c86, c87, c88, c89, c90, c91, c92, c93, c94, c95, c96, c97, c98, c99, c100, c101, c102, c103, c104, c105, c106, c107, c108, c109, c110, c111, c112, c3

(15) CdtRuleRemovalProof (UPPER BOUND(ADD(n^1)) transformation)

Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.

U142'(ok(z0)) → c20(U142'(z0))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
We considered the (Usable) Rules:none
And the Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
The order we found is given by the following interpretation:
Polynomial interpretation :

POL(0) = [1]   
POL(AFTERNTH(x1, x2)) = 0   
POL(CONS(x1, x2)) = [2]x1   
POL(FST(x1)) = 0   
POL(HEAD(x1)) = 0   
POL(ISLNAT(x1)) = 0   
POL(ISNATURAL(x1)) = 0   
POL(ISPLNAT(x1)) = 0   
POL(NATSFROM(x1)) = 0   
POL(PAIR(x1, x2)) = 0   
POL(S(x1)) = 0   
POL(SEL(x1, x2)) = 0   
POL(SND(x1)) = 0   
POL(SPLITAT(x1, x2)) = [2]x1 + [2]x2   
POL(TAIL(x1)) = 0   
POL(TAKE(x1, x2)) = 0   
POL(TOP(x1)) = 0   
POL(U101'(x1, x2)) = 0   
POL(U102'(x1)) = 0   
POL(U11'(x1, x2, x3)) = 0   
POL(U111'(x1)) = 0   
POL(U12'(x1, x2, x3)) = 0   
POL(U121'(x1)) = 0   
POL(U131'(x1, x2)) = [2]x1 + [2]x2   
POL(U132'(x1)) = 0   
POL(U141'(x1, x2)) = [2]x2   
POL(U142'(x1)) = x1   
POL(U151'(x1, x2)) = 0   
POL(U152'(x1)) = 0   
POL(U161'(x1, x2)) = 0   
POL(U171'(x1, x2, x3)) = 0   
POL(U172'(x1, x2, x3)) = [2]x3   
POL(U181'(x1, x2)) = 0   
POL(U182'(x1, x2)) = 0   
POL(U191'(x1, x2)) = x1   
POL(U201'(x1, x2, x3, x4)) = x4   
POL(U202'(x1, x2, x3, x4)) = 0   
POL(U203'(x1, x2, x3, x4)) = 0   
POL(U204'(x1, x2)) = 0   
POL(U21'(x1, x2, x3)) = 0   
POL(U211'(x1, x2)) = 0   
POL(U212'(x1, x2)) = 0   
POL(U22'(x1, x2)) = 0   
POL(U221'(x1, x2, x3)) = 0   
POL(U222'(x1, x2, x3)) = 0   
POL(U31'(x1, x2, x3)) = 0   
POL(U32'(x1, x2)) = x1   
POL(U41'(x1, x2)) = 0   
POL(U42'(x1)) = 0   
POL(U51'(x1, x2)) = x1   
POL(U52'(x1)) = 0   
POL(U61'(x1)) = 0   
POL(U71'(x1)) = 0   
POL(U81'(x1)) = 0   
POL(U91'(x1)) = 0   
POL(c(x1)) = x1   
POL(c1(x1)) = x1   
POL(c10(x1)) = x1   
POL(c100(x1)) = x1   
POL(c101(x1)) = x1   
POL(c102(x1)) = x1   
POL(c103(x1)) = x1   
POL(c104(x1)) = x1   
POL(c105(x1)) = x1   
POL(c106(x1)) = x1   
POL(c107(x1)) = x1   
POL(c108(x1)) = x1   
POL(c109(x1)) = x1   
POL(c11(x1)) = x1   
POL(c110(x1)) = x1   
POL(c111(x1)) = x1   
POL(c112(x1)) = x1   
POL(c12(x1)) = x1   
POL(c13(x1)) = x1   
POL(c14(x1)) = x1   
POL(c15(x1)) = x1   
POL(c16(x1)) = x1   
POL(c17(x1)) = x1   
POL(c18(x1)) = x1   
POL(c19(x1)) = x1   
POL(c20(x1)) = x1   
POL(c21(x1)) = x1   
POL(c22(x1)) = x1   
POL(c23(x1)) = x1   
POL(c27(x1)) = x1   
POL(c28(x1)) = x1   
POL(c29(x1)) = x1   
POL(c3(x1)) = x1   
POL(c30(x1)) = x1   
POL(c31(x1)) = x1   
POL(c32(x1)) = x1   
POL(c33(x1)) = x1   
POL(c34(x1)) = x1   
POL(c35(x1)) = x1   
POL(c36(x1)) = x1   
POL(c37(x1)) = x1   
POL(c38(x1)) = x1   
POL(c39(x1)) = x1   
POL(c4(x1)) = x1   
POL(c40(x1)) = x1   
POL(c41(x1)) = x1   
POL(c42(x1)) = x1   
POL(c43(x1)) = x1   
POL(c44(x1)) = x1   
POL(c45(x1)) = x1   
POL(c46(x1)) = x1   
POL(c47(x1)) = x1   
POL(c48(x1)) = x1   
POL(c49(x1)) = x1   
POL(c5(x1)) = x1   
POL(c50(x1)) = x1   
POL(c51(x1)) = x1   
POL(c52(x1)) = x1   
POL(c53(x1)) = x1   
POL(c54(x1)) = x1   
POL(c55(x1)) = x1   
POL(c56(x1)) = x1   
POL(c57(x1)) = x1   
POL(c58(x1)) = x1   
POL(c59(x1)) = x1   
POL(c6(x1)) = x1   
POL(c60(x1)) = x1   
POL(c61(x1)) = x1   
POL(c62(x1)) = x1   
POL(c63(x1)) = x1   
POL(c64(x1)) = x1   
POL(c65(x1)) = x1   
POL(c66(x1)) = x1   
POL(c67(x1)) = x1   
POL(c68(x1)) = x1   
POL(c69(x1)) = x1   
POL(c7(x1)) = x1   
POL(c70(x1)) = x1   
POL(c71(x1)) = x1   
POL(c72(x1)) = x1   
POL(c73(x1)) = x1   
POL(c74(x1)) = x1   
POL(c75(x1)) = x1   
POL(c76(x1)) = x1   
POL(c77(x1)) = x1   
POL(c78(x1)) = x1   
POL(c79(x1)) = x1   
POL(c8(x1)) = x1   
POL(c80(x1)) = x1   
POL(c81(x1)) = x1   
POL(c82(x1)) = x1   
POL(c83(x1)) = x1   
POL(c84(x1)) = x1   
POL(c85(x1)) = x1   
POL(c86(x1)) = x1   
POL(c87(x1)) = x1   
POL(c88(x1)) = x1   
POL(c89(x1)) = x1   
POL(c9(x1)) = x1   
POL(c90(x1)) = x1   
POL(c91(x1)) = x1   
POL(c92(x1)) = x1   
POL(c93(x1)) = x1   
POL(c94(x1)) = x1   
POL(c95(x1)) = x1   
POL(c96(x1)) = x1   
POL(c97(x1)) = x1   
POL(c98(x1)) = x1   
POL(c99(x1)) = x1   
POL(mark(x1)) = x1   
POL(nil) = [1]   
POL(ok(x1)) = [2] + x1   
POL(proper(x1)) = [1] + [3]x1   
POL(tt) = [1]   

(16) Obligation:

Complexity Dependency Tuples Problem
Rules:

proper(tt) → ok(tt)
proper(nil) → ok(nil)
proper(0) → ok(0)
Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
S tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
K tuples:

TOP(mark(z0)) → c3(TOP(proper(z0)))
U142'(ok(z0)) → c20(U142'(z0))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
Defined Rule Symbols:

proper

Defined Pair Symbols:

U202', U71', U61', PAIR, U41', SEL, U42', U181', U142', U152', U11', U203', U201', SPLITAT, HEAD, U151', FST, AFTERNTH, TAIL, U21', U132', U212', U12', U141', TAKE, U121', U91', U101', NATSFROM, U171', U204', S, CONS, U31', ISNATURAL, U221', U32', U131', SND, U161', U172', ISPLNAT, U222', U102', U191', U81', U211', U111', U52', U51', U22', U182', ISLNAT, TOP

Compound Symbols:

c, c1, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c27, c28, c29, c30, c31, c32, c33, c34, c35, c36, c37, c38, c39, c40, c41, c42, c43, c44, c45, c46, c47, c48, c49, c50, c51, c52, c53, c54, c55, c56, c57, c58, c59, c60, c61, c62, c63, c64, c65, c66, c67, c68, c69, c70, c71, c72, c73, c74, c75, c76, c77, c78, c79, c80, c81, c82, c83, c84, c85, c86, c87, c88, c89, c90, c91, c92, c93, c94, c95, c96, c97, c98, c99, c100, c101, c102, c103, c104, c105, c106, c107, c108, c109, c110, c111, c112, c3

(17) CdtRuleRemovalProof (UPPER BOUND(ADD(n^1)) transformation)

Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.

U32'(mark(z0), z1) → c81(U32'(z0, z1))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
We considered the (Usable) Rules:none
And the Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
The order we found is given by the following interpretation:
Polynomial interpretation :

POL(0) = 0   
POL(AFTERNTH(x1, x2)) = 0   
POL(CONS(x1, x2)) = 0   
POL(FST(x1)) = 0   
POL(HEAD(x1)) = 0   
POL(ISLNAT(x1)) = 0   
POL(ISNATURAL(x1)) = 0   
POL(ISPLNAT(x1)) = 0   
POL(NATSFROM(x1)) = 0   
POL(PAIR(x1, x2)) = 0   
POL(S(x1)) = 0   
POL(SEL(x1, x2)) = 0   
POL(SND(x1)) = 0   
POL(SPLITAT(x1, x2)) = 0   
POL(TAIL(x1)) = 0   
POL(TAKE(x1, x2)) = 0   
POL(TOP(x1)) = 0   
POL(U101'(x1, x2)) = 0   
POL(U102'(x1)) = x1   
POL(U11'(x1, x2, x3)) = 0   
POL(U111'(x1)) = 0   
POL(U12'(x1, x2, x3)) = 0   
POL(U121'(x1)) = 0   
POL(U131'(x1, x2)) = 0   
POL(U132'(x1)) = 0   
POL(U141'(x1, x2)) = 0   
POL(U142'(x1)) = 0   
POL(U151'(x1, x2)) = 0   
POL(U152'(x1)) = 0   
POL(U161'(x1, x2)) = 0   
POL(U171'(x1, x2, x3)) = 0   
POL(U172'(x1, x2, x3)) = 0   
POL(U181'(x1, x2)) = 0   
POL(U182'(x1, x2)) = 0   
POL(U191'(x1, x2)) = x2   
POL(U201'(x1, x2, x3, x4)) = 0   
POL(U202'(x1, x2, x3, x4)) = x2   
POL(U203'(x1, x2, x3, x4)) = 0   
POL(U204'(x1, x2)) = 0   
POL(U21'(x1, x2, x3)) = 0   
POL(U211'(x1, x2)) = 0   
POL(U212'(x1, x2)) = 0   
POL(U22'(x1, x2)) = 0   
POL(U221'(x1, x2, x3)) = 0   
POL(U222'(x1, x2, x3)) = x1   
POL(U31'(x1, x2, x3)) = 0   
POL(U32'(x1, x2)) = x1 + x2   
POL(U41'(x1, x2)) = 0   
POL(U42'(x1)) = 0   
POL(U51'(x1, x2)) = x2   
POL(U52'(x1)) = 0   
POL(U61'(x1)) = 0   
POL(U71'(x1)) = 0   
POL(U81'(x1)) = 0   
POL(U91'(x1)) = 0   
POL(c(x1)) = x1   
POL(c1(x1)) = x1   
POL(c10(x1)) = x1   
POL(c100(x1)) = x1   
POL(c101(x1)) = x1   
POL(c102(x1)) = x1   
POL(c103(x1)) = x1   
POL(c104(x1)) = x1   
POL(c105(x1)) = x1   
POL(c106(x1)) = x1   
POL(c107(x1)) = x1   
POL(c108(x1)) = x1   
POL(c109(x1)) = x1   
POL(c11(x1)) = x1   
POL(c110(x1)) = x1   
POL(c111(x1)) = x1   
POL(c112(x1)) = x1   
POL(c12(x1)) = x1   
POL(c13(x1)) = x1   
POL(c14(x1)) = x1   
POL(c15(x1)) = x1   
POL(c16(x1)) = x1   
POL(c17(x1)) = x1   
POL(c18(x1)) = x1   
POL(c19(x1)) = x1   
POL(c20(x1)) = x1   
POL(c21(x1)) = x1   
POL(c22(x1)) = x1   
POL(c23(x1)) = x1   
POL(c27(x1)) = x1   
POL(c28(x1)) = x1   
POL(c29(x1)) = x1   
POL(c3(x1)) = x1   
POL(c30(x1)) = x1   
POL(c31(x1)) = x1   
POL(c32(x1)) = x1   
POL(c33(x1)) = x1   
POL(c34(x1)) = x1   
POL(c35(x1)) = x1   
POL(c36(x1)) = x1   
POL(c37(x1)) = x1   
POL(c38(x1)) = x1   
POL(c39(x1)) = x1   
POL(c4(x1)) = x1   
POL(c40(x1)) = x1   
POL(c41(x1)) = x1   
POL(c42(x1)) = x1   
POL(c43(x1)) = x1   
POL(c44(x1)) = x1   
POL(c45(x1)) = x1   
POL(c46(x1)) = x1   
POL(c47(x1)) = x1   
POL(c48(x1)) = x1   
POL(c49(x1)) = x1   
POL(c5(x1)) = x1   
POL(c50(x1)) = x1   
POL(c51(x1)) = x1   
POL(c52(x1)) = x1   
POL(c53(x1)) = x1   
POL(c54(x1)) = x1   
POL(c55(x1)) = x1   
POL(c56(x1)) = x1   
POL(c57(x1)) = x1   
POL(c58(x1)) = x1   
POL(c59(x1)) = x1   
POL(c6(x1)) = x1   
POL(c60(x1)) = x1   
POL(c61(x1)) = x1   
POL(c62(x1)) = x1   
POL(c63(x1)) = x1   
POL(c64(x1)) = x1   
POL(c65(x1)) = x1   
POL(c66(x1)) = x1   
POL(c67(x1)) = x1   
POL(c68(x1)) = x1   
POL(c69(x1)) = x1   
POL(c7(x1)) = x1   
POL(c70(x1)) = x1   
POL(c71(x1)) = x1   
POL(c72(x1)) = x1   
POL(c73(x1)) = x1   
POL(c74(x1)) = x1   
POL(c75(x1)) = x1   
POL(c76(x1)) = x1   
POL(c77(x1)) = x1   
POL(c78(x1)) = x1   
POL(c79(x1)) = x1   
POL(c8(x1)) = x1   
POL(c80(x1)) = x1   
POL(c81(x1)) = x1   
POL(c82(x1)) = x1   
POL(c83(x1)) = x1   
POL(c84(x1)) = x1   
POL(c85(x1)) = x1   
POL(c86(x1)) = x1   
POL(c87(x1)) = x1   
POL(c88(x1)) = x1   
POL(c89(x1)) = x1   
POL(c9(x1)) = x1   
POL(c90(x1)) = x1   
POL(c91(x1)) = x1   
POL(c92(x1)) = x1   
POL(c93(x1)) = x1   
POL(c94(x1)) = x1   
POL(c95(x1)) = x1   
POL(c96(x1)) = x1   
POL(c97(x1)) = x1   
POL(c98(x1)) = x1   
POL(c99(x1)) = x1   
POL(mark(x1)) = [1] + x1   
POL(nil) = 0   
POL(ok(x1)) = x1   
POL(proper(x1)) = 0   
POL(tt) = 0   

(18) Obligation:

Complexity Dependency Tuples Problem
Rules:

proper(tt) → ok(tt)
proper(nil) → ok(nil)
proper(0) → ok(0)
Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
S tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U102'(ok(z0)) → c95(U102'(z0))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
K tuples:

TOP(mark(z0)) → c3(TOP(proper(z0)))
U142'(ok(z0)) → c20(U142'(z0))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
Defined Rule Symbols:

proper

Defined Pair Symbols:

U202', U71', U61', PAIR, U41', SEL, U42', U181', U142', U152', U11', U203', U201', SPLITAT, HEAD, U151', FST, AFTERNTH, TAIL, U21', U132', U212', U12', U141', TAKE, U121', U91', U101', NATSFROM, U171', U204', S, CONS, U31', ISNATURAL, U221', U32', U131', SND, U161', U172', ISPLNAT, U222', U102', U191', U81', U211', U111', U52', U51', U22', U182', ISLNAT, TOP

Compound Symbols:

c, c1, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22, c23, c27, c28, c29, c30, c31, c32, c33, c34, c35, c36, c37, c38, c39, c40, c41, c42, c43, c44, c45, c46, c47, c48, c49, c50, c51, c52, c53, c54, c55, c56, c57, c58, c59, c60, c61, c62, c63, c64, c65, c66, c67, c68, c69, c70, c71, c72, c73, c74, c75, c76, c77, c78, c79, c80, c81, c82, c83, c84, c85, c86, c87, c88, c89, c90, c91, c92, c93, c94, c95, c96, c97, c98, c99, c100, c101, c102, c103, c104, c105, c106, c107, c108, c109, c110, c111, c112, c3

(19) CdtRuleRemovalProof (UPPER BOUND(ADD(n^1)) transformation)

Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.

U181'(mark(z0), z1) → c19(U181'(z0, z1))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U91'(mark(z0)) → c63(U91'(z0))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
We considered the (Usable) Rules:

proper(tt) → ok(tt)
proper(nil) → ok(nil)
proper(0) → ok(0)
And the Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(U203'(z0, z1, z2, z3))
U201'(ok(z0), ok(z1), ok(z2), ok(z3)) → c31(U201'(z0, z1, z2, z3))
U201'(mark(z0), z1, z2, z3) → c32(U201'(z0, z1, z2, z3))
SPLITAT(z0, mark(z1)) → c33(SPLITAT(z0, z1))
SPLITAT(mark(z0), z1) → c34(SPLITAT(z0, z1))
SPLITAT(ok(z0), ok(z1)) → c35(SPLITAT(z0, z1))
HEAD(mark(z0)) → c36(HEAD(z0))
HEAD(ok(z0)) → c37(HEAD(z0))
U151'(ok(z0), ok(z1)) → c38(U151'(z0, z1))
U151'(mark(z0), z1) → c39(U151'(z0, z1))
FST(mark(z0)) → c40(FST(z0))
FST(ok(z0)) → c41(FST(z0))
AFTERNTH(ok(z0), ok(z1)) → c42(AFTERNTH(z0, z1))
AFTERNTH(z0, mark(z1)) → c43(AFTERNTH(z0, z1))
AFTERNTH(mark(z0), z1) → c44(AFTERNTH(z0, z1))
TAIL(mark(z0)) → c45(TAIL(z0))
TAIL(ok(z0)) → c46(TAIL(z0))
U21'(ok(z0), ok(z1), ok(z2)) → c47(U21'(z0, z1, z2))
U21'(mark(z0), z1, z2) → c48(U21'(z0, z1, z2))
U132'(ok(z0)) → c49(U132'(z0))
U132'(mark(z0)) → c50(U132'(z0))
U212'(mark(z0), z1) → c51(U212'(z0, z1))
U212'(ok(z0), ok(z1)) → c52(U212'(z0, z1))
U12'(mark(z0), z1, z2) → c53(U12'(z0, z1, z2))
U12'(ok(z0), ok(z1), ok(z2)) → c54(U12'(z0, z1, z2))
U141'(ok(z0), ok(z1)) → c55(U141'(z0, z1))
U141'(mark(z0), z1) → c56(U141'(z0, z1))
TAKE(z0, mark(z1)) → c57(TAKE(z0, z1))
TAKE(mark(z0), z1) → c58(TAKE(z0, z1))
TAKE(ok(z0), ok(z1)) → c59(TAKE(z0, z1))
U121'(mark(z0)) → c60(U121'(z0))
U121'(ok(z0)) → c61(U121'(z0))
U91'(ok(z0)) → c62(U91'(z0))
U91'(mark(z0)) → c63(U91'(z0))
U101'(mark(z0), z1) → c64(U101'(z0, z1))
U101'(ok(z0), ok(z1)) → c65(U101'(z0, z1))
NATSFROM(mark(z0)) → c66(NATSFROM(z0))
NATSFROM(ok(z0)) → c67(NATSFROM(z0))
U171'(mark(z0), z1, z2) → c68(U171'(z0, z1, z2))
U171'(ok(z0), ok(z1), ok(z2)) → c69(U171'(z0, z1, z2))
U204'(ok(z0), ok(z1)) → c70(U204'(z0, z1))
U204'(mark(z0), z1) → c71(U204'(z0, z1))
S(mark(z0)) → c72(S(z0))
S(ok(z0)) → c73(S(z0))
CONS(mark(z0), z1) → c74(CONS(z0, z1))
CONS(ok(z0), ok(z1)) → c75(CONS(z0, z1))
U31'(ok(z0), ok(z1), ok(z2)) → c76(U31'(z0, z1, z2))
U31'(mark(z0), z1, z2) → c77(U31'(z0, z1, z2))
ISNATURAL(ok(z0)) → c78(ISNATURAL(z0))
U221'(mark(z0), z1, z2) → c79(U221'(z0, z1, z2))
U221'(ok(z0), ok(z1), ok(z2)) → c80(U221'(z0, z1, z2))
U32'(mark(z0), z1) → c81(U32'(z0, z1))
U32'(ok(z0), ok(z1)) → c82(U32'(z0, z1))
U131'(ok(z0), ok(z1)) → c83(U131'(z0, z1))
U131'(mark(z0), z1) → c84(U131'(z0, z1))
SND(ok(z0)) → c85(SND(z0))
SND(mark(z0)) → c86(SND(z0))
U161'(mark(z0), z1) → c87(U161'(z0, z1))
U161'(ok(z0), ok(z1)) → c88(U161'(z0, z1))
U172'(ok(z0), ok(z1), ok(z2)) → c89(U172'(z0, z1, z2))
U172'(mark(z0), z1, z2) → c90(U172'(z0, z1, z2))
ISPLNAT(ok(z0)) → c91(ISPLNAT(z0))
U222'(ok(z0), ok(z1), ok(z2)) → c92(U222'(z0, z1, z2))
U222'(mark(z0), z1, z2) → c93(U222'(z0, z1, z2))
U102'(mark(z0)) → c94(U102'(z0))
U102'(ok(z0)) → c95(U102'(z0))
U191'(ok(z0), ok(z1)) → c96(U191'(z0, z1))
U191'(mark(z0), z1) → c97(U191'(z0, z1))
U81'(ok(z0)) → c98(U81'(z0))
U81'(mark(z0)) → c99(U81'(z0))
U211'(ok(z0), ok(z1)) → c100(U211'(z0, z1))
U211'(mark(z0), z1) → c101(U211'(z0, z1))
U111'(ok(z0)) → c102(U111'(z0))
U111'(mark(z0)) → c103(U111'(z0))
U52'(ok(z0)) → c104(U52'(z0))
U52'(mark(z0)) → c105(U52'(z0))
U51'(mark(z0), z1) → c106(U51'(z0, z1))
U51'(ok(z0), ok(z1)) → c107(U51'(z0, z1))
U22'(mark(z0), z1) → c108(U22'(z0, z1))
U22'(ok(z0), ok(z1)) → c109(U22'(z0, z1))
U182'(mark(z0), z1) → c110(U182'(z0, z1))
U182'(ok(z0), ok(z1)) → c111(U182'(z0, z1))
ISLNAT(ok(z0)) → c112(ISLNAT(z0))
TOP(mark(z0)) → c3(TOP(proper(z0)))
The order we found is given by the following interpretation:
Polynomial interpretation :

POL(0) = [1]   
POL(AFTERNTH(x1, x2)) = 0   
POL(CONS(x1, x2)) = 0   
POL(FST(x1)) = 0   
POL(HEAD(x1)) = 0   
POL(ISLNAT(x1)) = 0   
POL(ISNATURAL(x1)) = 0   
POL(ISPLNAT(x1)) = 0   
POL(NATSFROM(x1)) = x1   
POL(PAIR(x1, x2)) = 0   
POL(S(x1)) = 0   
POL(SEL(x1, x2)) = 0   
POL(SND(x1)) = 0   
POL(SPLITAT(x1, x2)) = 0   
POL(TAIL(x1)) = 0   
POL(TAKE(x1, x2)) = 0   
POL(TOP(x1)) = x1   
POL(U101'(x1, x2)) = 0   
POL(U102'(x1)) = 0   
POL(U11'(x1, x2, x3)) = 0   
POL(U111'(x1)) = 0   
POL(U12'(x1, x2, x3)) = 0   
POL(U121'(x1)) = 0   
POL(U131'(x1, x2)) = 0   
POL(U132'(x1)) = 0   
POL(U141'(x1, x2)) = 0   
POL(U142'(x1)) = 0   
POL(U151'(x1, x2)) = 0   
POL(U152'(x1)) = 0   
POL(U161'(x1, x2)) = x1   
POL(U171'(x1, x2, x3)) = 0   
POL(U172'(x1, x2, x3)) = 0   
POL(U181'(x1, x2)) = x1   
POL(U182'(x1, x2)) = 0   
POL(U191'(x1, x2)) = 0   
POL(U201'(x1, x2, x3, x4)) = x4   
POL(U202'(x1, x2, x3, x4)) = 0   
POL(U203'(x1, x2, x3, x4)) = 0   
POL(U204'(x1, x2)) = 0   
POL(U21'(x1, x2, x3)) = 0   
POL(U211'(x1, x2)) = x1   
POL(U212'(x1, x2)) = x1   
POL(U22'(x1, x2)) = 0   
POL(U221'(x1, x2, x3)) = 0   
POL(U222'(x1, x2, x3)) = 0   
POL(U31'(x1, x2, x3)) = 0   
POL(U32'(x1, x2)) = 0   
POL(U41'(x1, x2)) = 0   
POL(U42'(x1)) = 0   
POL(U51'(x1, x2)) = 0   
POL(U52'(x1)) = 0   
POL(U61'(x1)) = 0   
POL(U71'(x1)) = 0   
POL(U81'(x1)) = 0   
POL(U91'(x1)) = x1   
POL(c(x1)) = x1   
POL(c1(x1)) = x1   
POL(c10(x1)) = x1   
POL(c100(x1)) = x1   
POL(c101(x1)) = x1   
POL(c102(x1)) = x1   
POL(c103(x1)) = x1   
POL(c104(x1)) = x1   
POL(c105(x1)) = x1   
POL(c106(x1)) = x1   
POL(c107(x1)) = x1   
POL(c108(x1)) = x1   
POL(c109(x1)) = x1   
POL(c11(x1)) = x1   
POL(c110(x1)) = x1   
POL(c111(x1)) = x1   
POL(c112(x1)) = x1   
POL(c12(x1)) = x1   
POL(c13(x1)) = x1   
POL(c14(x1)) = x1   
POL(c15(x1)) = x1   
POL(c16(x1)) = x1   
POL(c17(x1)) = x1   
POL(c18(x1)) = x1   
POL(c19(x1)) = x1   
POL(c20(x1)) = x1   
POL(c21(x1)) = x1   
POL(c22(x1)) = x1   
POL(c23(x1)) = x1   
POL(c27(x1)) = x1   
POL(c28(x1)) = x1   
POL(c29(x1)) = x1   
POL(c3(x1)) = x1   
POL(c30(x1)) = x1   
POL(c31(x1)) = x1   
POL(c32(x1)) = x1   
POL(c33(x1)) = x1   
POL(c34(x1)) = x1   
POL(c35(x1)) = x1   
POL(c36(x1)) = x1   
POL(c37(x1)) = x1   
POL(c38(x1)) = x1   
POL(c39(x1)) = x1   
POL(c4(x1)) = x1   
POL(c40(x1)) = x1   
POL(c41(x1)) = x1   
POL(c42(x1)) = x1   
POL(c43(x1)) = x1   
POL(c44(x1)) = x1   
POL(c45(x1)) = x1   
POL(c46(x1)) = x1   
POL(c47(x1)) = x1   
POL(c48(x1)) = x1   
POL(c49(x1)) = x1   
POL(c5(x1)) = x1   
POL(c50(x1)) = x1   
POL(c51(x1)) = x1   
POL(c52(x1)) = x1   
POL(c53(x1)) = x1   
POL(c54(x1)) = x1   
POL(c55(x1)) = x1   
POL(c56(x1)) = x1   
POL(c57(x1)) = x1   
POL(c58(x1)) = x1   
POL(c59(x1)) = x1   
POL(c6(x1)) = x1   
POL(c60(x1)) = x1   
POL(c61(x1)) = x1   
POL(c62(x1)) = x1   
POL(c63(x1)) = x1   
POL(c64(x1)) = x1   
POL(c65(x1)) = x1   
POL(c66(x1)) = x1   
POL(c67(x1)) = x1   
POL(c68(x1)) = x1   
POL(c69(x1)) = x1   
POL(c7(x1)) = x1   
POL(c70(x1)) = x1   
POL(c71(x1)) = x1   
POL(c72(x1)) = x1   
POL(c73(x1)) = x1   
POL(c74(x1)) = x1   
POL(c75(x1)) = x1   
POL(c76(x1)) = x1   
POL(c77(x1)) = x1   
POL(c78(x1)) = x1   
POL(c79(x1)) = x1   
POL(c8(x1)) = x1   
POL(c80(x1)) = x1   
POL(c81(x1)) = x1   
POL(c82(x1)) = x1   
POL(c83(x1)) = x1   
POL(c84(x1)) = x1   
POL(c85(x1)) = x1   
POL(c86(x1)) = x1   
POL(c87(x1)) = x1   
POL(c88(x1)) = x1   
POL(c89(x1)) = x1   
POL(c9(x1)) = x1   
POL(c90(x1)) = x1   
POL(c91(x1)) = x1   
POL(c92(x1)) = x1   
POL(c93(x1)) = x1   
POL(c94(x1)) = x1   
POL(c95(x1)) = x1   
POL(c96(x1)) = x1   
POL(c97(x1)) = x1   
POL(c98(x1)) = x1   
POL(c99(x1)) = x1   
POL(mark(x1)) = [1] + x1   
POL(nil) = 0   
POL(ok(x1)) = x1   
POL(proper(x1)) = [1]   
POL(tt) = 0   

(20) Obligation:

Complexity Dependency Tuples Problem
Rules:

proper(tt) → ok(tt)
proper(nil) → ok(nil)
proper(0) → ok(0)
Tuples:

U202'(ok(z0), ok(z1), ok(z2), ok(z3)) → c(U202'(z0, z1, z2, z3))
U202'(mark(z0), z1, z2, z3) → c1(U202'(z0, z1, z2, z3))
U71'(mark(z0)) → c4(U71'(z0))
U71'(ok(z0)) → c5(U71'(z0))
U61'(ok(z0)) → c6(U61'(z0))
U61'(mark(z0)) → c7(U61'(z0))
PAIR(mark(z0), z1) → c8(PAIR(z0, z1))
PAIR(ok(z0), ok(z1)) → c9(PAIR(z0, z1))
PAIR(z0, mark(z1)) → c10(PAIR(z0, z1))
U41'(mark(z0), z1) → c11(U41'(z0, z1))
U41'(ok(z0), ok(z1)) → c12(U41'(z0, z1))
SEL(ok(z0), ok(z1)) → c13(SEL(z0, z1))
SEL(mark(z0), z1) → c14(SEL(z0, z1))
SEL(z0, mark(z1)) → c15(SEL(z0, z1))
U42'(mark(z0)) → c16(U42'(z0))
U42'(ok(z0)) → c17(U42'(z0))
U181'(ok(z0), ok(z1)) → c18(U181'(z0, z1))
U181'(mark(z0), z1) → c19(U181'(z0, z1))
U142'(ok(z0)) → c20(U142'(z0))
U142'(mark(z0)) → c21(U142'(z0))
U152'(mark(z0)) → c22(U152'(z0))
U152'(ok(z0)) → c23(U152'(z0))
U11'(mark(z0), z1, z2) → c27(U11'(z0, z1, z2))
U11'(ok(z0), ok(z1), ok(z2)) → c28(U11'(z0, z1, z2))
U203'(ok(z0), ok(z1), ok(z2), ok(z3)) → c29(U203'(z0, z1, z2, z3))
U203'(mark(z0), z1, z2, z3) → c30(