0 QTRS
↳1 DependencyPairsProof (⇔)
↳2 QDP
↳3 DependencyGraphProof (⇔)
↳4 AND
↳5 QDP
↳6 QDPOrderProof (⇔)
↳7 QDP
↳8 PisEmptyProof (⇔)
↳9 TRUE
↳10 QDP
↳11 QDPOrderProof (⇔)
↳12 QDP
↳13 QDPOrderProof (⇔)
↳14 QDP
↳15 PisEmptyProof (⇔)
↳16 TRUE
↳17 QDP
↳18 QDPOrderProof (⇔)
↳19 QDP
↳20 PisEmptyProof (⇔)
↳21 TRUE
↳22 QDP
↳23 QDPOrderProof (⇔)
↳24 QDP
↳25 QDPOrderProof (⇔)
↳26 QDP
↳27 PisEmptyProof (⇔)
↳28 TRUE
↳29 QDP
↳30 QDPOrderProof (⇔)
↳31 QDP
↳32 QDPOrderProof (⇔)
↳33 QDP
↳34 PisEmptyProof (⇔)
↳35 TRUE
↳36 QDP
↳37 QDPOrderProof (⇔)
↳38 QDP
↳39 QDPOrderProof (⇔)
↳40 QDP
↳41 PisEmptyProof (⇔)
↳42 TRUE
↳43 QDP
↳44 QDPOrderProof (⇔)
↳45 QDP
↳46 QDPOrderProof (⇔)
↳47 QDP
↳48 QDPOrderProof (⇔)
↳49 QDP
↳50 QDPOrderProof (⇔)
↳51 QDP
↳52 PisEmptyProof (⇔)
↳53 TRUE
↳54 QDP
↳55 QDPOrderProof (⇔)
↳56 QDP
↳57 QDPOrderProof (⇔)
↳58 QDP
↳59 QDPOrderProof (⇔)
↳60 QDP
↳61 QDPOrderProof (⇔)
↳62 QDP
↳63 PisEmptyProof (⇔)
↳64 TRUE
↳65 QDP
↳66 QDPOrderProof (⇔)
↳67 QDP
↳68 PisEmptyProof (⇔)
↳69 TRUE
↳70 QDP
↳71 QDPOrderProof (⇔)
↳72 QDP
↳73 PisEmptyProof (⇔)
↳74 TRUE
↳75 QDP
↳76 QDPOrderProof (⇔)
↳77 QDP
↳78 PisEmptyProof (⇔)
↳79 TRUE
↳80 QDP
↳81 QDPOrderProof (⇔)
↳82 QDP
↳83 PisEmptyProof (⇔)
↳84 TRUE
↳85 QDP
↳86 QDPOrderProof (⇔)
↳87 QDP
↳88 PisEmptyProof (⇔)
↳89 TRUE
↳90 QDP
↳91 QDPOrderProof (⇔)
↳92 QDP
↳93 PisEmptyProof (⇔)
↳94 TRUE
↳95 QDP
↳96 QDPOrderProof (⇔)
↳97 QDP
↳98 PisEmptyProof (⇔)
↳99 TRUE
↳100 QDP
↳101 QDPOrderProof (⇔)
↳102 QDP
↳103 PisEmptyProof (⇔)
↳104 TRUE
↳105 QDP
↳106 QDPOrderProof (⇔)
↳107 QDP
↳108 PisEmptyProof (⇔)
↳109 TRUE
↳110 QDP
↳111 QDPOrderProof (⇔)
↳112 QDP
↳113 PisEmptyProof (⇔)
↳114 TRUE
↳115 QDP
↳116 QDPOrderProof (⇔)
↳117 QDP
↳118 PisEmptyProof (⇔)
↳119 TRUE
↳120 QDP
↳121 QDPOrderProof (⇔)
↳122 QDP
↳123 QDPOrderProof (⇔)
↳124 QDP
↳125 PisEmptyProof (⇔)
↳126 TRUE
↳127 QDP
↳128 QDPOrderProof (⇔)
↳129 QDP
↳130 QDPOrderProof (⇔)
↳131 QDP
↳132 QDPOrderProof (⇔)
↳133 QDP
↳134 QDPOrderProof (⇔)
↳135 QDP
↳136 PisEmptyProof (⇔)
↳137 TRUE
↳138 QDP
↳139 QDPOrderProof (⇔)
↳140 QDP
↳141 QDPOrderProof (⇔)
↳142 QDP
↳143 QDPOrderProof (⇔)
↳144 QDP
↳145 QDPOrderProof (⇔)
↳146 QDP
↳147 PisEmptyProof (⇔)
↳148 TRUE
↳149 QDP
↳150 QDPOrderProof (⇔)
↳151 QDP
↳152 PisEmptyProof (⇔)
↳153 TRUE
↳154 QDP
↳155 QDPOrderProof (⇔)
↳156 QDP
↳157 PisEmptyProof (⇔)
↳158 TRUE
↳159 QDP
↳160 QDPOrderProof (⇔)
↳161 QDP
↳162 PisEmptyProof (⇔)
↳163 TRUE
↳164 QDP
↳165 QDPOrderProof (⇔)
↳166 QDP
↳167 PisEmptyProof (⇔)
↳168 TRUE
↳169 QDP
↳170 QDPOrderProof (⇔)
↳171 QDP
↳172 PisEmptyProof (⇔)
↳173 TRUE
↳174 QDP
↳175 QDPOrderProof (⇔)
↳176 QDP
↳177 QDPOrderProof (⇔)
↳178 QDP
↳179 PisEmptyProof (⇔)
↳180 TRUE
↳181 QDP
↳182 QDPOrderProof (⇔)
↳183 QDP
↳184 QDPOrderProof (⇔)
↳185 QDP
↳186 QDPOrderProof (⇔)
↳187 QDP
↳188 QDPOrderProof (⇔)
↳189 QDP
↳190 PisEmptyProof (⇔)
↳191 TRUE
↳192 QDP
↳193 QDPOrderProof (⇔)
↳194 QDP
↳195 QDPOrderProof (⇔)
↳196 QDP
↳197 QDPOrderProof (⇔)
↳198 QDP
↳199 QDPOrderProof (⇔)
↳200 QDP
↳201 PisEmptyProof (⇔)
↳202 TRUE
↳203 QDP
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
ACTIVE(U11(tt, N, XS)) → MARK(U12(tt, N, XS))
ACTIVE(U11(tt, N, XS)) → U121(tt, N, XS)
ACTIVE(U12(tt, N, XS)) → MARK(snd(splitAt(N, XS)))
ACTIVE(U12(tt, N, XS)) → SND(splitAt(N, XS))
ACTIVE(U12(tt, N, XS)) → SPLITAT(N, XS)
ACTIVE(U21(tt, X)) → MARK(U22(tt, X))
ACTIVE(U21(tt, X)) → U221(tt, X)
ACTIVE(U22(tt, X)) → MARK(X)
ACTIVE(U31(tt, N)) → MARK(U32(tt, N))
ACTIVE(U31(tt, N)) → U321(tt, N)
ACTIVE(U32(tt, N)) → MARK(N)
ACTIVE(U41(tt, N, XS)) → MARK(U42(tt, N, XS))
ACTIVE(U41(tt, N, XS)) → U421(tt, N, XS)
ACTIVE(U42(tt, N, XS)) → MARK(head(afterNth(N, XS)))
ACTIVE(U42(tt, N, XS)) → HEAD(afterNth(N, XS))
ACTIVE(U42(tt, N, XS)) → AFTERNTH(N, XS)
ACTIVE(U51(tt, Y)) → MARK(U52(tt, Y))
ACTIVE(U51(tt, Y)) → U521(tt, Y)
ACTIVE(U52(tt, Y)) → MARK(Y)
ACTIVE(U61(tt, N, X, XS)) → MARK(U62(tt, N, X, XS))
ACTIVE(U61(tt, N, X, XS)) → U621(tt, N, X, XS)
ACTIVE(U62(tt, N, X, XS)) → MARK(U63(tt, N, X, XS))
ACTIVE(U62(tt, N, X, XS)) → U631(tt, N, X, XS)
ACTIVE(U63(tt, N, X, XS)) → MARK(U64(splitAt(N, XS), X))
ACTIVE(U63(tt, N, X, XS)) → U641(splitAt(N, XS), X)
ACTIVE(U63(tt, N, X, XS)) → SPLITAT(N, XS)
ACTIVE(U64(pair(YS, ZS), X)) → MARK(pair(cons(X, YS), ZS))
ACTIVE(U64(pair(YS, ZS), X)) → PAIR(cons(X, YS), ZS)
ACTIVE(U64(pair(YS, ZS), X)) → CONS(X, YS)
ACTIVE(U71(tt, XS)) → MARK(U72(tt, XS))
ACTIVE(U71(tt, XS)) → U721(tt, XS)
ACTIVE(U72(tt, XS)) → MARK(XS)
ACTIVE(U81(tt, N, XS)) → MARK(U82(tt, N, XS))
ACTIVE(U81(tt, N, XS)) → U821(tt, N, XS)
ACTIVE(U82(tt, N, XS)) → MARK(fst(splitAt(N, XS)))
ACTIVE(U82(tt, N, XS)) → FST(splitAt(N, XS))
ACTIVE(U82(tt, N, XS)) → SPLITAT(N, XS)
ACTIVE(afterNth(N, XS)) → MARK(U11(tt, N, XS))
ACTIVE(afterNth(N, XS)) → U111(tt, N, XS)
ACTIVE(fst(pair(X, Y))) → MARK(U21(tt, X))
ACTIVE(fst(pair(X, Y))) → U211(tt, X)
ACTIVE(head(cons(N, XS))) → MARK(U31(tt, N))
ACTIVE(head(cons(N, XS))) → U311(tt, N)
ACTIVE(natsFrom(N)) → MARK(cons(N, natsFrom(s(N))))
ACTIVE(natsFrom(N)) → CONS(N, natsFrom(s(N)))
ACTIVE(natsFrom(N)) → NATSFROM(s(N))
ACTIVE(natsFrom(N)) → S(N)
ACTIVE(sel(N, XS)) → MARK(U41(tt, N, XS))
ACTIVE(sel(N, XS)) → U411(tt, N, XS)
ACTIVE(snd(pair(X, Y))) → MARK(U51(tt, Y))
ACTIVE(snd(pair(X, Y))) → U511(tt, Y)
ACTIVE(splitAt(0, XS)) → MARK(pair(nil, XS))
ACTIVE(splitAt(0, XS)) → PAIR(nil, XS)
ACTIVE(splitAt(s(N), cons(X, XS))) → MARK(U61(tt, N, X, XS))
ACTIVE(splitAt(s(N), cons(X, XS))) → U611(tt, N, X, XS)
ACTIVE(tail(cons(N, XS))) → MARK(U71(tt, XS))
ACTIVE(tail(cons(N, XS))) → U711(tt, XS)
ACTIVE(take(N, XS)) → MARK(U81(tt, N, XS))
ACTIVE(take(N, XS)) → U811(tt, N, XS)
MARK(U11(X1, X2, X3)) → ACTIVE(U11(mark(X1), X2, X3))
MARK(U11(X1, X2, X3)) → U111(mark(X1), X2, X3)
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(tt) → ACTIVE(tt)
MARK(U12(X1, X2, X3)) → ACTIVE(U12(mark(X1), X2, X3))
MARK(U12(X1, X2, X3)) → U121(mark(X1), X2, X3)
MARK(U12(X1, X2, X3)) → MARK(X1)
MARK(snd(X)) → ACTIVE(snd(mark(X)))
MARK(snd(X)) → SND(mark(X))
MARK(snd(X)) → MARK(X)
MARK(splitAt(X1, X2)) → ACTIVE(splitAt(mark(X1), mark(X2)))
MARK(splitAt(X1, X2)) → SPLITAT(mark(X1), mark(X2))
MARK(splitAt(X1, X2)) → MARK(X1)
MARK(splitAt(X1, X2)) → MARK(X2)
MARK(U21(X1, X2)) → ACTIVE(U21(mark(X1), X2))
MARK(U21(X1, X2)) → U211(mark(X1), X2)
MARK(U21(X1, X2)) → MARK(X1)
MARK(U22(X1, X2)) → ACTIVE(U22(mark(X1), X2))
MARK(U22(X1, X2)) → U221(mark(X1), X2)
MARK(U22(X1, X2)) → MARK(X1)
MARK(U31(X1, X2)) → ACTIVE(U31(mark(X1), X2))
MARK(U31(X1, X2)) → U311(mark(X1), X2)
MARK(U31(X1, X2)) → MARK(X1)
MARK(U32(X1, X2)) → ACTIVE(U32(mark(X1), X2))
MARK(U32(X1, X2)) → U321(mark(X1), X2)
MARK(U32(X1, X2)) → MARK(X1)
MARK(U41(X1, X2, X3)) → ACTIVE(U41(mark(X1), X2, X3))
MARK(U41(X1, X2, X3)) → U411(mark(X1), X2, X3)
MARK(U41(X1, X2, X3)) → MARK(X1)
MARK(U42(X1, X2, X3)) → ACTIVE(U42(mark(X1), X2, X3))
MARK(U42(X1, X2, X3)) → U421(mark(X1), X2, X3)
MARK(U42(X1, X2, X3)) → MARK(X1)
MARK(head(X)) → ACTIVE(head(mark(X)))
MARK(head(X)) → HEAD(mark(X))
MARK(head(X)) → MARK(X)
MARK(afterNth(X1, X2)) → ACTIVE(afterNth(mark(X1), mark(X2)))
MARK(afterNth(X1, X2)) → AFTERNTH(mark(X1), mark(X2))
MARK(afterNth(X1, X2)) → MARK(X1)
MARK(afterNth(X1, X2)) → MARK(X2)
MARK(U51(X1, X2)) → ACTIVE(U51(mark(X1), X2))
MARK(U51(X1, X2)) → U511(mark(X1), X2)
MARK(U51(X1, X2)) → MARK(X1)
MARK(U52(X1, X2)) → ACTIVE(U52(mark(X1), X2))
MARK(U52(X1, X2)) → U521(mark(X1), X2)
MARK(U52(X1, X2)) → MARK(X1)
MARK(U61(X1, X2, X3, X4)) → ACTIVE(U61(mark(X1), X2, X3, X4))
MARK(U61(X1, X2, X3, X4)) → U611(mark(X1), X2, X3, X4)
MARK(U61(X1, X2, X3, X4)) → MARK(X1)
MARK(U62(X1, X2, X3, X4)) → ACTIVE(U62(mark(X1), X2, X3, X4))
MARK(U62(X1, X2, X3, X4)) → U621(mark(X1), X2, X3, X4)
MARK(U62(X1, X2, X3, X4)) → MARK(X1)
MARK(U63(X1, X2, X3, X4)) → ACTIVE(U63(mark(X1), X2, X3, X4))
MARK(U63(X1, X2, X3, X4)) → U631(mark(X1), X2, X3, X4)
MARK(U63(X1, X2, X3, X4)) → MARK(X1)
MARK(U64(X1, X2)) → ACTIVE(U64(mark(X1), X2))
MARK(U64(X1, X2)) → U641(mark(X1), X2)
MARK(U64(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → ACTIVE(pair(mark(X1), mark(X2)))
MARK(pair(X1, X2)) → PAIR(mark(X1), mark(X2))
MARK(pair(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
MARK(cons(X1, X2)) → CONS(mark(X1), X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(U71(X1, X2)) → ACTIVE(U71(mark(X1), X2))
MARK(U71(X1, X2)) → U711(mark(X1), X2)
MARK(U71(X1, X2)) → MARK(X1)
MARK(U72(X1, X2)) → ACTIVE(U72(mark(X1), X2))
MARK(U72(X1, X2)) → U721(mark(X1), X2)
MARK(U72(X1, X2)) → MARK(X1)
MARK(U81(X1, X2, X3)) → ACTIVE(U81(mark(X1), X2, X3))
MARK(U81(X1, X2, X3)) → U811(mark(X1), X2, X3)
MARK(U81(X1, X2, X3)) → MARK(X1)
MARK(U82(X1, X2, X3)) → ACTIVE(U82(mark(X1), X2, X3))
MARK(U82(X1, X2, X3)) → U821(mark(X1), X2, X3)
MARK(U82(X1, X2, X3)) → MARK(X1)
MARK(fst(X)) → ACTIVE(fst(mark(X)))
MARK(fst(X)) → FST(mark(X))
MARK(fst(X)) → MARK(X)
MARK(natsFrom(X)) → ACTIVE(natsFrom(mark(X)))
MARK(natsFrom(X)) → NATSFROM(mark(X))
MARK(natsFrom(X)) → MARK(X)
MARK(s(X)) → ACTIVE(s(mark(X)))
MARK(s(X)) → S(mark(X))
MARK(s(X)) → MARK(X)
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
MARK(sel(X1, X2)) → SEL(mark(X1), mark(X2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(X2)
MARK(0) → ACTIVE(0)
MARK(nil) → ACTIVE(nil)
MARK(tail(X)) → ACTIVE(tail(mark(X)))
MARK(tail(X)) → TAIL(mark(X))
MARK(tail(X)) → MARK(X)
MARK(take(X1, X2)) → ACTIVE(take(mark(X1), mark(X2)))
MARK(take(X1, X2)) → TAKE(mark(X1), mark(X2))
MARK(take(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → MARK(X2)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
U121(mark(X1), X2, X3) → U121(X1, X2, X3)
U121(X1, mark(X2), X3) → U121(X1, X2, X3)
U121(X1, X2, mark(X3)) → U121(X1, X2, X3)
U121(active(X1), X2, X3) → U121(X1, X2, X3)
U121(X1, active(X2), X3) → U121(X1, X2, X3)
U121(X1, X2, active(X3)) → U121(X1, X2, X3)
SND(mark(X)) → SND(X)
SND(active(X)) → SND(X)
SPLITAT(mark(X1), X2) → SPLITAT(X1, X2)
SPLITAT(X1, mark(X2)) → SPLITAT(X1, X2)
SPLITAT(active(X1), X2) → SPLITAT(X1, X2)
SPLITAT(X1, active(X2)) → SPLITAT(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)
U211(X1, mark(X2)) → U211(X1, X2)
U211(active(X1), X2) → U211(X1, X2)
U211(X1, active(X2)) → U211(X1, X2)
U221(mark(X1), X2) → U221(X1, X2)
U221(X1, mark(X2)) → U221(X1, X2)
U221(active(X1), X2) → U221(X1, X2)
U221(X1, active(X2)) → U221(X1, X2)
U311(mark(X1), X2) → U311(X1, X2)
U311(X1, mark(X2)) → U311(X1, X2)
U311(active(X1), X2) → U311(X1, X2)
U311(X1, active(X2)) → U311(X1, X2)
U321(mark(X1), X2) → U321(X1, X2)
U321(X1, mark(X2)) → U321(X1, X2)
U321(active(X1), X2) → U321(X1, X2)
U321(X1, active(X2)) → U321(X1, X2)
U411(mark(X1), X2, X3) → U411(X1, X2, X3)
U411(X1, mark(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, mark(X3)) → U411(X1, X2, X3)
U411(active(X1), X2, X3) → U411(X1, X2, X3)
U411(X1, active(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, active(X3)) → U411(X1, X2, X3)
U421(mark(X1), X2, X3) → U421(X1, X2, X3)
U421(X1, mark(X2), X3) → U421(X1, X2, X3)
U421(X1, X2, mark(X3)) → U421(X1, X2, X3)
U421(active(X1), X2, X3) → U421(X1, X2, X3)
U421(X1, active(X2), X3) → U421(X1, X2, X3)
U421(X1, X2, active(X3)) → U421(X1, X2, X3)
HEAD(mark(X)) → HEAD(X)
HEAD(active(X)) → HEAD(X)
AFTERNTH(mark(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(X1, mark(X2)) → AFTERNTH(X1, X2)
AFTERNTH(active(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(X1, active(X2)) → AFTERNTH(X1, X2)
U511(mark(X1), X2) → U511(X1, X2)
U511(X1, mark(X2)) → U511(X1, X2)
U511(active(X1), X2) → U511(X1, X2)
U511(X1, active(X2)) → U511(X1, X2)
U521(mark(X1), X2) → U521(X1, X2)
U521(X1, mark(X2)) → U521(X1, X2)
U521(active(X1), X2) → U521(X1, X2)
U521(X1, active(X2)) → U521(X1, X2)
U611(mark(X1), X2, X3, X4) → U611(X1, X2, X3, X4)
U611(X1, mark(X2), X3, X4) → U611(X1, X2, X3, X4)
U611(X1, X2, mark(X3), X4) → U611(X1, X2, X3, X4)
U611(X1, X2, X3, mark(X4)) → U611(X1, X2, X3, X4)
U611(active(X1), X2, X3, X4) → U611(X1, X2, X3, X4)
U611(X1, active(X2), X3, X4) → U611(X1, X2, X3, X4)
U611(X1, X2, active(X3), X4) → U611(X1, X2, X3, X4)
U611(X1, X2, X3, active(X4)) → U611(X1, X2, X3, X4)
U621(mark(X1), X2, X3, X4) → U621(X1, X2, X3, X4)
U621(X1, mark(X2), X3, X4) → U621(X1, X2, X3, X4)
U621(X1, X2, mark(X3), X4) → U621(X1, X2, X3, X4)
U621(X1, X2, X3, mark(X4)) → U621(X1, X2, X3, X4)
U621(active(X1), X2, X3, X4) → U621(X1, X2, X3, X4)
U621(X1, active(X2), X3, X4) → U621(X1, X2, X3, X4)
U621(X1, X2, active(X3), X4) → U621(X1, X2, X3, X4)
U621(X1, X2, X3, active(X4)) → U621(X1, X2, X3, X4)
U631(mark(X1), X2, X3, X4) → U631(X1, X2, X3, X4)
U631(X1, mark(X2), X3, X4) → U631(X1, X2, X3, X4)
U631(X1, X2, mark(X3), X4) → U631(X1, X2, X3, X4)
U631(X1, X2, X3, mark(X4)) → U631(X1, X2, X3, X4)
U631(active(X1), X2, X3, X4) → U631(X1, X2, X3, X4)
U631(X1, active(X2), X3, X4) → U631(X1, X2, X3, X4)
U631(X1, X2, active(X3), X4) → U631(X1, X2, X3, X4)
U631(X1, X2, X3, active(X4)) → U631(X1, X2, X3, X4)
U641(mark(X1), X2) → U641(X1, X2)
U641(X1, mark(X2)) → U641(X1, X2)
U641(active(X1), X2) → U641(X1, X2)
U641(X1, active(X2)) → U641(X1, X2)
PAIR(mark(X1), X2) → PAIR(X1, X2)
PAIR(X1, mark(X2)) → PAIR(X1, X2)
PAIR(active(X1), X2) → PAIR(X1, X2)
PAIR(X1, active(X2)) → PAIR(X1, X2)
CONS(mark(X1), X2) → CONS(X1, X2)
CONS(X1, mark(X2)) → CONS(X1, X2)
CONS(active(X1), X2) → CONS(X1, X2)
CONS(X1, active(X2)) → CONS(X1, X2)
U711(mark(X1), X2) → U711(X1, X2)
U711(X1, mark(X2)) → U711(X1, X2)
U711(active(X1), X2) → U711(X1, X2)
U711(X1, active(X2)) → U711(X1, X2)
U721(mark(X1), X2) → U721(X1, X2)
U721(X1, mark(X2)) → U721(X1, X2)
U721(active(X1), X2) → U721(X1, X2)
U721(X1, active(X2)) → U721(X1, X2)
U811(mark(X1), X2, X3) → U811(X1, X2, X3)
U811(X1, mark(X2), X3) → U811(X1, X2, X3)
U811(X1, X2, mark(X3)) → U811(X1, X2, X3)
U811(active(X1), X2, X3) → U811(X1, X2, X3)
U811(X1, active(X2), X3) → U811(X1, X2, X3)
U811(X1, X2, active(X3)) → U811(X1, X2, X3)
U821(mark(X1), X2, X3) → U821(X1, X2, X3)
U821(X1, mark(X2), X3) → U821(X1, X2, X3)
U821(X1, X2, mark(X3)) → U821(X1, X2, X3)
U821(active(X1), X2, X3) → U821(X1, X2, X3)
U821(X1, active(X2), X3) → U821(X1, X2, X3)
U821(X1, X2, active(X3)) → U821(X1, X2, X3)
FST(mark(X)) → FST(X)
FST(active(X)) → FST(X)
NATSFROM(mark(X)) → NATSFROM(X)
NATSFROM(active(X)) → NATSFROM(X)
S(mark(X)) → S(X)
S(active(X)) → S(X)
SEL(mark(X1), X2) → SEL(X1, X2)
SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)
TAIL(mark(X)) → TAIL(X)
TAIL(active(X)) → TAIL(X)
TAKE(mark(X1), X2) → TAKE(X1, X2)
TAKE(X1, mark(X2)) → TAKE(X1, X2)
TAKE(active(X1), X2) → TAKE(X1, X2)
TAKE(X1, active(X2)) → TAKE(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
TAKE(X1, mark(X2)) → TAKE(X1, X2)
TAKE(mark(X1), X2) → TAKE(X1, X2)
TAKE(active(X1), X2) → TAKE(X1, X2)
TAKE(X1, active(X2)) → TAKE(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
TAKE(X1, mark(X2)) → TAKE(X1, X2)
TAKE(mark(X1), X2) → TAKE(X1, X2)
TAKE(active(X1), X2) → TAKE(X1, X2)
TAKE(X1, active(X2)) → TAKE(X1, X2)
mark1 > TAKE2
active1 > TAKE2
TAKE2: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
TAIL(active(X)) → TAIL(X)
TAIL(mark(X)) → TAIL(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
TAIL(active(X)) → TAIL(X)
trivial
active1: [1]
TAIL(mark(X)) → TAIL(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
TAIL(mark(X)) → TAIL(X)
mark1 > TAIL1
TAIL1: [1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(mark(X1), X2) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(mark(X1), X2) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)
mark1 > SEL2
active1 > SEL2
SEL2: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
S(active(X)) → S(X)
S(mark(X)) → S(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
S(active(X)) → S(X)
trivial
active1: [1]
S(mark(X)) → S(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
S(mark(X)) → S(X)
mark1 > S1
S1: [1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
NATSFROM(active(X)) → NATSFROM(X)
NATSFROM(mark(X)) → NATSFROM(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
NATSFROM(active(X)) → NATSFROM(X)
trivial
active1: [1]
NATSFROM(mark(X)) → NATSFROM(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
NATSFROM(mark(X)) → NATSFROM(X)
mark1 > NATSFROM1
NATSFROM1: [1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
FST(active(X)) → FST(X)
FST(mark(X)) → FST(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
FST(active(X)) → FST(X)
trivial
active1: [1]
FST(mark(X)) → FST(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
FST(mark(X)) → FST(X)
mark1 > FST1
FST1: [1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U821(X1, mark(X2), X3) → U821(X1, X2, X3)
U821(mark(X1), X2, X3) → U821(X1, X2, X3)
U821(X1, X2, mark(X3)) → U821(X1, X2, X3)
U821(active(X1), X2, X3) → U821(X1, X2, X3)
U821(X1, active(X2), X3) → U821(X1, X2, X3)
U821(X1, X2, active(X3)) → U821(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U821(mark(X1), X2, X3) → U821(X1, X2, X3)
U821(active(X1), X2, X3) → U821(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U821(X1, mark(X2), X3) → U821(X1, X2, X3)
U821(X1, X2, mark(X3)) → U821(X1, X2, X3)
U821(X1, active(X2), X3) → U821(X1, X2, X3)
U821(X1, X2, active(X3)) → U821(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U821(X1, X2, mark(X3)) → U821(X1, X2, X3)
U821(X1, X2, active(X3)) → U821(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U821(X1, mark(X2), X3) → U821(X1, X2, X3)
U821(X1, active(X2), X3) → U821(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U821(X1, active(X2), X3) → U821(X1, X2, X3)
active1 > U82^13
U82^13: [3,1,2]
active1: [1]
U821(X1, mark(X2), X3) → U821(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U821(X1, mark(X2), X3) → U821(X1, X2, X3)
mark1 > U82^13
U82^13: [3,2,1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U811(X1, mark(X2), X3) → U811(X1, X2, X3)
U811(mark(X1), X2, X3) → U811(X1, X2, X3)
U811(X1, X2, mark(X3)) → U811(X1, X2, X3)
U811(active(X1), X2, X3) → U811(X1, X2, X3)
U811(X1, active(X2), X3) → U811(X1, X2, X3)
U811(X1, X2, active(X3)) → U811(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U811(mark(X1), X2, X3) → U811(X1, X2, X3)
U811(active(X1), X2, X3) → U811(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U811(X1, mark(X2), X3) → U811(X1, X2, X3)
U811(X1, X2, mark(X3)) → U811(X1, X2, X3)
U811(X1, active(X2), X3) → U811(X1, X2, X3)
U811(X1, X2, active(X3)) → U811(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U811(X1, X2, mark(X3)) → U811(X1, X2, X3)
U811(X1, X2, active(X3)) → U811(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U811(X1, mark(X2), X3) → U811(X1, X2, X3)
U811(X1, active(X2), X3) → U811(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U811(X1, active(X2), X3) → U811(X1, X2, X3)
active1 > U81^13
U81^13: [3,1,2]
active1: [1]
U811(X1, mark(X2), X3) → U811(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U811(X1, mark(X2), X3) → U811(X1, X2, X3)
mark1 > U81^13
U81^13: [3,2,1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U721(X1, mark(X2)) → U721(X1, X2)
U721(mark(X1), X2) → U721(X1, X2)
U721(active(X1), X2) → U721(X1, X2)
U721(X1, active(X2)) → U721(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U721(X1, mark(X2)) → U721(X1, X2)
U721(mark(X1), X2) → U721(X1, X2)
U721(active(X1), X2) → U721(X1, X2)
U721(X1, active(X2)) → U721(X1, X2)
mark1 > U72^12
active1 > U72^12
U72^12: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U711(X1, mark(X2)) → U711(X1, X2)
U711(mark(X1), X2) → U711(X1, X2)
U711(active(X1), X2) → U711(X1, X2)
U711(X1, active(X2)) → U711(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U711(X1, mark(X2)) → U711(X1, X2)
U711(mark(X1), X2) → U711(X1, X2)
U711(active(X1), X2) → U711(X1, X2)
U711(X1, active(X2)) → U711(X1, X2)
mark1 > U71^12
active1 > U71^12
U71^12: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
CONS(X1, mark(X2)) → CONS(X1, X2)
CONS(mark(X1), X2) → CONS(X1, X2)
CONS(active(X1), X2) → CONS(X1, X2)
CONS(X1, active(X2)) → CONS(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
CONS(X1, mark(X2)) → CONS(X1, X2)
CONS(mark(X1), X2) → CONS(X1, X2)
CONS(active(X1), X2) → CONS(X1, X2)
CONS(X1, active(X2)) → CONS(X1, X2)
mark1 > CONS2
active1 > CONS2
CONS2: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
PAIR(X1, mark(X2)) → PAIR(X1, X2)
PAIR(mark(X1), X2) → PAIR(X1, X2)
PAIR(active(X1), X2) → PAIR(X1, X2)
PAIR(X1, active(X2)) → PAIR(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PAIR(X1, mark(X2)) → PAIR(X1, X2)
PAIR(mark(X1), X2) → PAIR(X1, X2)
PAIR(active(X1), X2) → PAIR(X1, X2)
PAIR(X1, active(X2)) → PAIR(X1, X2)
mark1 > PAIR2
active1 > PAIR2
PAIR2: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U641(X1, mark(X2)) → U641(X1, X2)
U641(mark(X1), X2) → U641(X1, X2)
U641(active(X1), X2) → U641(X1, X2)
U641(X1, active(X2)) → U641(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U641(X1, mark(X2)) → U641(X1, X2)
U641(mark(X1), X2) → U641(X1, X2)
U641(active(X1), X2) → U641(X1, X2)
U641(X1, active(X2)) → U641(X1, X2)
mark1 > U64^12
active1 > U64^12
U64^12: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U631(X1, mark(X2), X3, X4) → U631(X1, X2, X3, X4)
U631(mark(X1), X2, X3, X4) → U631(X1, X2, X3, X4)
U631(X1, X2, mark(X3), X4) → U631(X1, X2, X3, X4)
U631(X1, X2, X3, mark(X4)) → U631(X1, X2, X3, X4)
U631(active(X1), X2, X3, X4) → U631(X1, X2, X3, X4)
U631(X1, active(X2), X3, X4) → U631(X1, X2, X3, X4)
U631(X1, X2, active(X3), X4) → U631(X1, X2, X3, X4)
U631(X1, X2, X3, active(X4)) → U631(X1, X2, X3, X4)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U631(X1, mark(X2), X3, X4) → U631(X1, X2, X3, X4)
U631(mark(X1), X2, X3, X4) → U631(X1, X2, X3, X4)
U631(X1, X2, mark(X3), X4) → U631(X1, X2, X3, X4)
U631(X1, X2, X3, mark(X4)) → U631(X1, X2, X3, X4)
U631(active(X1), X2, X3, X4) → U631(X1, X2, X3, X4)
U631(X1, active(X2), X3, X4) → U631(X1, X2, X3, X4)
U631(X1, X2, active(X3), X4) → U631(X1, X2, X3, X4)
U631(X1, X2, X3, active(X4)) → U631(X1, X2, X3, X4)
mark1 > U63^14
active1 > U63^14
U63^14: [3,4,2,1]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U621(X1, mark(X2), X3, X4) → U621(X1, X2, X3, X4)
U621(mark(X1), X2, X3, X4) → U621(X1, X2, X3, X4)
U621(X1, X2, mark(X3), X4) → U621(X1, X2, X3, X4)
U621(X1, X2, X3, mark(X4)) → U621(X1, X2, X3, X4)
U621(active(X1), X2, X3, X4) → U621(X1, X2, X3, X4)
U621(X1, active(X2), X3, X4) → U621(X1, X2, X3, X4)
U621(X1, X2, active(X3), X4) → U621(X1, X2, X3, X4)
U621(X1, X2, X3, active(X4)) → U621(X1, X2, X3, X4)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U621(X1, mark(X2), X3, X4) → U621(X1, X2, X3, X4)
U621(mark(X1), X2, X3, X4) → U621(X1, X2, X3, X4)
U621(X1, X2, mark(X3), X4) → U621(X1, X2, X3, X4)
U621(X1, X2, X3, mark(X4)) → U621(X1, X2, X3, X4)
U621(active(X1), X2, X3, X4) → U621(X1, X2, X3, X4)
U621(X1, active(X2), X3, X4) → U621(X1, X2, X3, X4)
U621(X1, X2, active(X3), X4) → U621(X1, X2, X3, X4)
U621(X1, X2, X3, active(X4)) → U621(X1, X2, X3, X4)
mark1 > U62^14
active1 > U62^14
U62^14: [3,4,2,1]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U611(X1, mark(X2), X3, X4) → U611(X1, X2, X3, X4)
U611(mark(X1), X2, X3, X4) → U611(X1, X2, X3, X4)
U611(X1, X2, mark(X3), X4) → U611(X1, X2, X3, X4)
U611(X1, X2, X3, mark(X4)) → U611(X1, X2, X3, X4)
U611(active(X1), X2, X3, X4) → U611(X1, X2, X3, X4)
U611(X1, active(X2), X3, X4) → U611(X1, X2, X3, X4)
U611(X1, X2, active(X3), X4) → U611(X1, X2, X3, X4)
U611(X1, X2, X3, active(X4)) → U611(X1, X2, X3, X4)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U611(X1, mark(X2), X3, X4) → U611(X1, X2, X3, X4)
U611(mark(X1), X2, X3, X4) → U611(X1, X2, X3, X4)
U611(X1, X2, mark(X3), X4) → U611(X1, X2, X3, X4)
U611(X1, X2, X3, mark(X4)) → U611(X1, X2, X3, X4)
U611(active(X1), X2, X3, X4) → U611(X1, X2, X3, X4)
U611(X1, active(X2), X3, X4) → U611(X1, X2, X3, X4)
U611(X1, X2, active(X3), X4) → U611(X1, X2, X3, X4)
U611(X1, X2, X3, active(X4)) → U611(X1, X2, X3, X4)
mark1 > U61^14
active1 > U61^14
U61^14: [3,4,2,1]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U521(X1, mark(X2)) → U521(X1, X2)
U521(mark(X1), X2) → U521(X1, X2)
U521(active(X1), X2) → U521(X1, X2)
U521(X1, active(X2)) → U521(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U521(X1, mark(X2)) → U521(X1, X2)
U521(mark(X1), X2) → U521(X1, X2)
U521(active(X1), X2) → U521(X1, X2)
U521(X1, active(X2)) → U521(X1, X2)
mark1 > U52^12
active1 > U52^12
U52^12: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U511(X1, mark(X2)) → U511(X1, X2)
U511(mark(X1), X2) → U511(X1, X2)
U511(active(X1), X2) → U511(X1, X2)
U511(X1, active(X2)) → U511(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U511(X1, mark(X2)) → U511(X1, X2)
U511(mark(X1), X2) → U511(X1, X2)
U511(active(X1), X2) → U511(X1, X2)
U511(X1, active(X2)) → U511(X1, X2)
mark1 > U51^12
active1 > U51^12
U51^12: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
AFTERNTH(X1, mark(X2)) → AFTERNTH(X1, X2)
AFTERNTH(mark(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(active(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(X1, active(X2)) → AFTERNTH(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
AFTERNTH(X1, mark(X2)) → AFTERNTH(X1, X2)
AFTERNTH(mark(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(active(X1), X2) → AFTERNTH(X1, X2)
AFTERNTH(X1, active(X2)) → AFTERNTH(X1, X2)
mark1 > AFTERNTH2
active1 > AFTERNTH2
AFTERNTH2: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
HEAD(active(X)) → HEAD(X)
HEAD(mark(X)) → HEAD(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
HEAD(active(X)) → HEAD(X)
trivial
active1: [1]
HEAD(mark(X)) → HEAD(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
HEAD(mark(X)) → HEAD(X)
mark1 > HEAD1
HEAD1: [1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U421(X1, mark(X2), X3) → U421(X1, X2, X3)
U421(mark(X1), X2, X3) → U421(X1, X2, X3)
U421(X1, X2, mark(X3)) → U421(X1, X2, X3)
U421(active(X1), X2, X3) → U421(X1, X2, X3)
U421(X1, active(X2), X3) → U421(X1, X2, X3)
U421(X1, X2, active(X3)) → U421(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U421(mark(X1), X2, X3) → U421(X1, X2, X3)
U421(active(X1), X2, X3) → U421(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U421(X1, mark(X2), X3) → U421(X1, X2, X3)
U421(X1, X2, mark(X3)) → U421(X1, X2, X3)
U421(X1, active(X2), X3) → U421(X1, X2, X3)
U421(X1, X2, active(X3)) → U421(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U421(X1, X2, mark(X3)) → U421(X1, X2, X3)
U421(X1, X2, active(X3)) → U421(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U421(X1, mark(X2), X3) → U421(X1, X2, X3)
U421(X1, active(X2), X3) → U421(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U421(X1, active(X2), X3) → U421(X1, X2, X3)
active1 > U42^13
U42^13: [3,1,2]
active1: [1]
U421(X1, mark(X2), X3) → U421(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U421(X1, mark(X2), X3) → U421(X1, X2, X3)
mark1 > U42^13
U42^13: [3,2,1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U411(X1, mark(X2), X3) → U411(X1, X2, X3)
U411(mark(X1), X2, X3) → U411(X1, X2, X3)
U411(X1, X2, mark(X3)) → U411(X1, X2, X3)
U411(active(X1), X2, X3) → U411(X1, X2, X3)
U411(X1, active(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, active(X3)) → U411(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U411(mark(X1), X2, X3) → U411(X1, X2, X3)
U411(active(X1), X2, X3) → U411(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U411(X1, mark(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, mark(X3)) → U411(X1, X2, X3)
U411(X1, active(X2), X3) → U411(X1, X2, X3)
U411(X1, X2, active(X3)) → U411(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U411(X1, X2, mark(X3)) → U411(X1, X2, X3)
U411(X1, X2, active(X3)) → U411(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U411(X1, mark(X2), X3) → U411(X1, X2, X3)
U411(X1, active(X2), X3) → U411(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U411(X1, active(X2), X3) → U411(X1, X2, X3)
active1 > U41^13
U41^13: [3,1,2]
active1: [1]
U411(X1, mark(X2), X3) → U411(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U411(X1, mark(X2), X3) → U411(X1, X2, X3)
mark1 > U41^13
U41^13: [3,2,1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U321(X1, mark(X2)) → U321(X1, X2)
U321(mark(X1), X2) → U321(X1, X2)
U321(active(X1), X2) → U321(X1, X2)
U321(X1, active(X2)) → U321(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U321(X1, mark(X2)) → U321(X1, X2)
U321(mark(X1), X2) → U321(X1, X2)
U321(active(X1), X2) → U321(X1, X2)
U321(X1, active(X2)) → U321(X1, X2)
mark1 > U32^12
active1 > U32^12
U32^12: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U311(X1, mark(X2)) → U311(X1, X2)
U311(mark(X1), X2) → U311(X1, X2)
U311(active(X1), X2) → U311(X1, X2)
U311(X1, active(X2)) → U311(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U311(X1, mark(X2)) → U311(X1, X2)
U311(mark(X1), X2) → U311(X1, X2)
U311(active(X1), X2) → U311(X1, X2)
U311(X1, active(X2)) → U311(X1, X2)
mark1 > U31^12
active1 > U31^12
U31^12: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U221(X1, mark(X2)) → U221(X1, X2)
U221(mark(X1), X2) → U221(X1, X2)
U221(active(X1), X2) → U221(X1, X2)
U221(X1, active(X2)) → U221(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U221(X1, mark(X2)) → U221(X1, X2)
U221(mark(X1), X2) → U221(X1, X2)
U221(active(X1), X2) → U221(X1, X2)
U221(X1, active(X2)) → U221(X1, X2)
mark1 > U22^12
active1 > U22^12
U22^12: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U211(X1, mark(X2)) → U211(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)
U211(active(X1), X2) → U211(X1, X2)
U211(X1, active(X2)) → U211(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U211(X1, mark(X2)) → U211(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)
U211(active(X1), X2) → U211(X1, X2)
U211(X1, active(X2)) → U211(X1, X2)
mark1 > U21^12
active1 > U21^12
U21^12: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
SPLITAT(X1, mark(X2)) → SPLITAT(X1, X2)
SPLITAT(mark(X1), X2) → SPLITAT(X1, X2)
SPLITAT(active(X1), X2) → SPLITAT(X1, X2)
SPLITAT(X1, active(X2)) → SPLITAT(X1, X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
SPLITAT(X1, mark(X2)) → SPLITAT(X1, X2)
SPLITAT(mark(X1), X2) → SPLITAT(X1, X2)
SPLITAT(active(X1), X2) → SPLITAT(X1, X2)
SPLITAT(X1, active(X2)) → SPLITAT(X1, X2)
mark1 > SPLITAT2
active1 > SPLITAT2
SPLITAT2: [1,2]
mark1: [1]
active1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
SND(active(X)) → SND(X)
SND(mark(X)) → SND(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
SND(active(X)) → SND(X)
trivial
active1: [1]
SND(mark(X)) → SND(X)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
SND(mark(X)) → SND(X)
mark1 > SND1
SND1: [1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U121(X1, mark(X2), X3) → U121(X1, X2, X3)
U121(mark(X1), X2, X3) → U121(X1, X2, X3)
U121(X1, X2, mark(X3)) → U121(X1, X2, X3)
U121(active(X1), X2, X3) → U121(X1, X2, X3)
U121(X1, active(X2), X3) → U121(X1, X2, X3)
U121(X1, X2, active(X3)) → U121(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U121(mark(X1), X2, X3) → U121(X1, X2, X3)
U121(active(X1), X2, X3) → U121(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U121(X1, mark(X2), X3) → U121(X1, X2, X3)
U121(X1, X2, mark(X3)) → U121(X1, X2, X3)
U121(X1, active(X2), X3) → U121(X1, X2, X3)
U121(X1, X2, active(X3)) → U121(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U121(X1, X2, mark(X3)) → U121(X1, X2, X3)
U121(X1, X2, active(X3)) → U121(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U121(X1, mark(X2), X3) → U121(X1, X2, X3)
U121(X1, active(X2), X3) → U121(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U121(X1, active(X2), X3) → U121(X1, X2, X3)
active1 > U12^13
U12^13: [3,1,2]
active1: [1]
U121(X1, mark(X2), X3) → U121(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U121(X1, mark(X2), X3) → U121(X1, X2, X3)
mark1 > U12^13
U12^13: [3,2,1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U111(mark(X1), X2, X3) → U111(X1, X2, X3)
U111(active(X1), X2, X3) → U111(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U111(X1, X2, mark(X3)) → U111(X1, X2, X3)
U111(X1, X2, active(X3)) → U111(X1, X2, X3)
trivial
mark1: [1]
active1: [1]
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
U111(X1, active(X2), X3) → U111(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U111(X1, active(X2), X3) → U111(X1, X2, X3)
active1 > U11^13
U11^13: [3,1,2]
active1: [1]
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U111(X1, mark(X2), X3) → U111(X1, X2, X3)
mark1 > U11^13
U11^13: [3,2,1]
mark1: [1]
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)
MARK(U11(X1, X2, X3)) → ACTIVE(U11(mark(X1), X2, X3))
ACTIVE(U11(tt, N, XS)) → MARK(U12(tt, N, XS))
MARK(U11(X1, X2, X3)) → MARK(X1)
MARK(U12(X1, X2, X3)) → ACTIVE(U12(mark(X1), X2, X3))
ACTIVE(U12(tt, N, XS)) → MARK(snd(splitAt(N, XS)))
MARK(U12(X1, X2, X3)) → MARK(X1)
MARK(snd(X)) → ACTIVE(snd(mark(X)))
ACTIVE(U21(tt, X)) → MARK(U22(tt, X))
MARK(snd(X)) → MARK(X)
MARK(splitAt(X1, X2)) → ACTIVE(splitAt(mark(X1), mark(X2)))
ACTIVE(U22(tt, X)) → MARK(X)
MARK(splitAt(X1, X2)) → MARK(X1)
MARK(splitAt(X1, X2)) → MARK(X2)
MARK(U21(X1, X2)) → ACTIVE(U21(mark(X1), X2))
ACTIVE(U31(tt, N)) → MARK(U32(tt, N))
MARK(U21(X1, X2)) → MARK(X1)
MARK(U22(X1, X2)) → ACTIVE(U22(mark(X1), X2))
ACTIVE(U32(tt, N)) → MARK(N)
MARK(U22(X1, X2)) → MARK(X1)
MARK(U31(X1, X2)) → ACTIVE(U31(mark(X1), X2))
ACTIVE(U41(tt, N, XS)) → MARK(U42(tt, N, XS))
MARK(U31(X1, X2)) → MARK(X1)
MARK(U32(X1, X2)) → ACTIVE(U32(mark(X1), X2))
ACTIVE(U42(tt, N, XS)) → MARK(head(afterNth(N, XS)))
MARK(U32(X1, X2)) → MARK(X1)
MARK(U41(X1, X2, X3)) → ACTIVE(U41(mark(X1), X2, X3))
ACTIVE(U51(tt, Y)) → MARK(U52(tt, Y))
MARK(U41(X1, X2, X3)) → MARK(X1)
MARK(U42(X1, X2, X3)) → ACTIVE(U42(mark(X1), X2, X3))
ACTIVE(U52(tt, Y)) → MARK(Y)
MARK(U42(X1, X2, X3)) → MARK(X1)
MARK(head(X)) → ACTIVE(head(mark(X)))
ACTIVE(U61(tt, N, X, XS)) → MARK(U62(tt, N, X, XS))
MARK(head(X)) → MARK(X)
MARK(afterNth(X1, X2)) → ACTIVE(afterNth(mark(X1), mark(X2)))
ACTIVE(U62(tt, N, X, XS)) → MARK(U63(tt, N, X, XS))
MARK(afterNth(X1, X2)) → MARK(X1)
MARK(afterNth(X1, X2)) → MARK(X2)
MARK(U51(X1, X2)) → ACTIVE(U51(mark(X1), X2))
ACTIVE(U63(tt, N, X, XS)) → MARK(U64(splitAt(N, XS), X))
MARK(U51(X1, X2)) → MARK(X1)
MARK(U52(X1, X2)) → ACTIVE(U52(mark(X1), X2))
ACTIVE(U64(pair(YS, ZS), X)) → MARK(pair(cons(X, YS), ZS))
MARK(U52(X1, X2)) → MARK(X1)
MARK(U61(X1, X2, X3, X4)) → ACTIVE(U61(mark(X1), X2, X3, X4))
ACTIVE(U71(tt, XS)) → MARK(U72(tt, XS))
MARK(U61(X1, X2, X3, X4)) → MARK(X1)
MARK(U62(X1, X2, X3, X4)) → ACTIVE(U62(mark(X1), X2, X3, X4))
ACTIVE(U72(tt, XS)) → MARK(XS)
MARK(U62(X1, X2, X3, X4)) → MARK(X1)
MARK(U63(X1, X2, X3, X4)) → ACTIVE(U63(mark(X1), X2, X3, X4))
ACTIVE(U81(tt, N, XS)) → MARK(U82(tt, N, XS))
MARK(U63(X1, X2, X3, X4)) → MARK(X1)
MARK(U64(X1, X2)) → ACTIVE(U64(mark(X1), X2))
ACTIVE(U82(tt, N, XS)) → MARK(fst(splitAt(N, XS)))
MARK(U64(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → ACTIVE(pair(mark(X1), mark(X2)))
ACTIVE(afterNth(N, XS)) → MARK(U11(tt, N, XS))
MARK(pair(X1, X2)) → MARK(X1)
MARK(pair(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
ACTIVE(fst(pair(X, Y))) → MARK(U21(tt, X))
MARK(cons(X1, X2)) → MARK(X1)
MARK(U71(X1, X2)) → ACTIVE(U71(mark(X1), X2))
ACTIVE(head(cons(N, XS))) → MARK(U31(tt, N))
MARK(U71(X1, X2)) → MARK(X1)
MARK(U72(X1, X2)) → ACTIVE(U72(mark(X1), X2))
ACTIVE(natsFrom(N)) → MARK(cons(N, natsFrom(s(N))))
MARK(U72(X1, X2)) → MARK(X1)
MARK(U81(X1, X2, X3)) → ACTIVE(U81(mark(X1), X2, X3))
ACTIVE(sel(N, XS)) → MARK(U41(tt, N, XS))
MARK(U81(X1, X2, X3)) → MARK(X1)
MARK(U82(X1, X2, X3)) → ACTIVE(U82(mark(X1), X2, X3))
ACTIVE(snd(pair(X, Y))) → MARK(U51(tt, Y))
MARK(U82(X1, X2, X3)) → MARK(X1)
MARK(fst(X)) → ACTIVE(fst(mark(X)))
ACTIVE(splitAt(0, XS)) → MARK(pair(nil, XS))
MARK(fst(X)) → MARK(X)
MARK(natsFrom(X)) → ACTIVE(natsFrom(mark(X)))
ACTIVE(splitAt(s(N), cons(X, XS))) → MARK(U61(tt, N, X, XS))
MARK(natsFrom(X)) → MARK(X)
MARK(s(X)) → ACTIVE(s(mark(X)))
ACTIVE(tail(cons(N, XS))) → MARK(U71(tt, XS))
MARK(s(X)) → MARK(X)
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
ACTIVE(take(N, XS)) → MARK(U81(tt, N, XS))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → MARK(X2)
MARK(tail(X)) → ACTIVE(tail(mark(X)))
MARK(tail(X)) → MARK(X)
MARK(take(X1, X2)) → ACTIVE(take(mark(X1), mark(X2)))
MARK(take(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → MARK(X2)
active(U11(tt, N, XS)) → mark(U12(tt, N, XS))
active(U12(tt, N, XS)) → mark(snd(splitAt(N, XS)))
active(U21(tt, X)) → mark(U22(tt, X))
active(U22(tt, X)) → mark(X)
active(U31(tt, N)) → mark(U32(tt, N))
active(U32(tt, N)) → mark(N)
active(U41(tt, N, XS)) → mark(U42(tt, N, XS))
active(U42(tt, N, XS)) → mark(head(afterNth(N, XS)))
active(U51(tt, Y)) → mark(U52(tt, Y))
active(U52(tt, Y)) → mark(Y)
active(U61(tt, N, X, XS)) → mark(U62(tt, N, X, XS))
active(U62(tt, N, X, XS)) → mark(U63(tt, N, X, XS))
active(U63(tt, N, X, XS)) → mark(U64(splitAt(N, XS), X))
active(U64(pair(YS, ZS), X)) → mark(pair(cons(X, YS), ZS))
active(U71(tt, XS)) → mark(U72(tt, XS))
active(U72(tt, XS)) → mark(XS)
active(U81(tt, N, XS)) → mark(U82(tt, N, XS))
active(U82(tt, N, XS)) → mark(fst(splitAt(N, XS)))
active(afterNth(N, XS)) → mark(U11(tt, N, XS))
active(fst(pair(X, Y))) → mark(U21(tt, X))
active(head(cons(N, XS))) → mark(U31(tt, N))
active(natsFrom(N)) → mark(cons(N, natsFrom(s(N))))
active(sel(N, XS)) → mark(U41(tt, N, XS))
active(snd(pair(X, Y))) → mark(U51(tt, Y))
active(splitAt(0, XS)) → mark(pair(nil, XS))
active(splitAt(s(N), cons(X, XS))) → mark(U61(tt, N, X, XS))
active(tail(cons(N, XS))) → mark(U71(tt, XS))
active(take(N, XS)) → mark(U81(tt, N, XS))
mark(U11(X1, X2, X3)) → active(U11(mark(X1), X2, X3))
mark(tt) → active(tt)
mark(U12(X1, X2, X3)) → active(U12(mark(X1), X2, X3))
mark(snd(X)) → active(snd(mark(X)))
mark(splitAt(X1, X2)) → active(splitAt(mark(X1), mark(X2)))
mark(U21(X1, X2)) → active(U21(mark(X1), X2))
mark(U22(X1, X2)) → active(U22(mark(X1), X2))
mark(U31(X1, X2)) → active(U31(mark(X1), X2))
mark(U32(X1, X2)) → active(U32(mark(X1), X2))
mark(U41(X1, X2, X3)) → active(U41(mark(X1), X2, X3))
mark(U42(X1, X2, X3)) → active(U42(mark(X1), X2, X3))
mark(head(X)) → active(head(mark(X)))
mark(afterNth(X1, X2)) → active(afterNth(mark(X1), mark(X2)))
mark(U51(X1, X2)) → active(U51(mark(X1), X2))
mark(U52(X1, X2)) → active(U52(mark(X1), X2))
mark(U61(X1, X2, X3, X4)) → active(U61(mark(X1), X2, X3, X4))
mark(U62(X1, X2, X3, X4)) → active(U62(mark(X1), X2, X3, X4))
mark(U63(X1, X2, X3, X4)) → active(U63(mark(X1), X2, X3, X4))
mark(U64(X1, X2)) → active(U64(mark(X1), X2))
mark(pair(X1, X2)) → active(pair(mark(X1), mark(X2)))
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(U71(X1, X2)) → active(U71(mark(X1), X2))
mark(U72(X1, X2)) → active(U72(mark(X1), X2))
mark(U81(X1, X2, X3)) → active(U81(mark(X1), X2, X3))
mark(U82(X1, X2, X3)) → active(U82(mark(X1), X2, X3))
mark(fst(X)) → active(fst(mark(X)))
mark(natsFrom(X)) → active(natsFrom(mark(X)))
mark(s(X)) → active(s(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(0) → active(0)
mark(nil) → active(nil)
mark(tail(X)) → active(tail(mark(X)))
mark(take(X1, X2)) → active(take(mark(X1), mark(X2)))
U11(mark(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, mark(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, mark(X3)) → U11(X1, X2, X3)
U11(active(X1), X2, X3) → U11(X1, X2, X3)
U11(X1, active(X2), X3) → U11(X1, X2, X3)
U11(X1, X2, active(X3)) → U11(X1, X2, X3)
U12(mark(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, mark(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, mark(X3)) → U12(X1, X2, X3)
U12(active(X1), X2, X3) → U12(X1, X2, X3)
U12(X1, active(X2), X3) → U12(X1, X2, X3)
U12(X1, X2, active(X3)) → U12(X1, X2, X3)
snd(mark(X)) → snd(X)
snd(active(X)) → snd(X)
splitAt(mark(X1), X2) → splitAt(X1, X2)
splitAt(X1, mark(X2)) → splitAt(X1, X2)
splitAt(active(X1), X2) → splitAt(X1, X2)
splitAt(X1, active(X2)) → splitAt(X1, X2)
U21(mark(X1), X2) → U21(X1, X2)
U21(X1, mark(X2)) → U21(X1, X2)
U21(active(X1), X2) → U21(X1, X2)
U21(X1, active(X2)) → U21(X1, X2)
U22(mark(X1), X2) → U22(X1, X2)
U22(X1, mark(X2)) → U22(X1, X2)
U22(active(X1), X2) → U22(X1, X2)
U22(X1, active(X2)) → U22(X1, X2)
U31(mark(X1), X2) → U31(X1, X2)
U31(X1, mark(X2)) → U31(X1, X2)
U31(active(X1), X2) → U31(X1, X2)
U31(X1, active(X2)) → U31(X1, X2)
U32(mark(X1), X2) → U32(X1, X2)
U32(X1, mark(X2)) → U32(X1, X2)
U32(active(X1), X2) → U32(X1, X2)
U32(X1, active(X2)) → U32(X1, X2)
U41(mark(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, mark(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, mark(X3)) → U41(X1, X2, X3)
U41(active(X1), X2, X3) → U41(X1, X2, X3)
U41(X1, active(X2), X3) → U41(X1, X2, X3)
U41(X1, X2, active(X3)) → U41(X1, X2, X3)
U42(mark(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, mark(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, mark(X3)) → U42(X1, X2, X3)
U42(active(X1), X2, X3) → U42(X1, X2, X3)
U42(X1, active(X2), X3) → U42(X1, X2, X3)
U42(X1, X2, active(X3)) → U42(X1, X2, X3)
head(mark(X)) → head(X)
head(active(X)) → head(X)
afterNth(mark(X1), X2) → afterNth(X1, X2)
afterNth(X1, mark(X2)) → afterNth(X1, X2)
afterNth(active(X1), X2) → afterNth(X1, X2)
afterNth(X1, active(X2)) → afterNth(X1, X2)
U51(mark(X1), X2) → U51(X1, X2)
U51(X1, mark(X2)) → U51(X1, X2)
U51(active(X1), X2) → U51(X1, X2)
U51(X1, active(X2)) → U51(X1, X2)
U52(mark(X1), X2) → U52(X1, X2)
U52(X1, mark(X2)) → U52(X1, X2)
U52(active(X1), X2) → U52(X1, X2)
U52(X1, active(X2)) → U52(X1, X2)
U61(mark(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, mark(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, mark(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, mark(X4)) → U61(X1, X2, X3, X4)
U61(active(X1), X2, X3, X4) → U61(X1, X2, X3, X4)
U61(X1, active(X2), X3, X4) → U61(X1, X2, X3, X4)
U61(X1, X2, active(X3), X4) → U61(X1, X2, X3, X4)
U61(X1, X2, X3, active(X4)) → U61(X1, X2, X3, X4)
U62(mark(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, mark(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, mark(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, mark(X4)) → U62(X1, X2, X3, X4)
U62(active(X1), X2, X3, X4) → U62(X1, X2, X3, X4)
U62(X1, active(X2), X3, X4) → U62(X1, X2, X3, X4)
U62(X1, X2, active(X3), X4) → U62(X1, X2, X3, X4)
U62(X1, X2, X3, active(X4)) → U62(X1, X2, X3, X4)
U63(mark(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, mark(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, mark(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, mark(X4)) → U63(X1, X2, X3, X4)
U63(active(X1), X2, X3, X4) → U63(X1, X2, X3, X4)
U63(X1, active(X2), X3, X4) → U63(X1, X2, X3, X4)
U63(X1, X2, active(X3), X4) → U63(X1, X2, X3, X4)
U63(X1, X2, X3, active(X4)) → U63(X1, X2, X3, X4)
U64(mark(X1), X2) → U64(X1, X2)
U64(X1, mark(X2)) → U64(X1, X2)
U64(active(X1), X2) → U64(X1, X2)
U64(X1, active(X2)) → U64(X1, X2)
pair(mark(X1), X2) → pair(X1, X2)
pair(X1, mark(X2)) → pair(X1, X2)
pair(active(X1), X2) → pair(X1, X2)
pair(X1, active(X2)) → pair(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
U71(mark(X1), X2) → U71(X1, X2)
U71(X1, mark(X2)) → U71(X1, X2)
U71(active(X1), X2) → U71(X1, X2)
U71(X1, active(X2)) → U71(X1, X2)
U72(mark(X1), X2) → U72(X1, X2)
U72(X1, mark(X2)) → U72(X1, X2)
U72(active(X1), X2) → U72(X1, X2)
U72(X1, active(X2)) → U72(X1, X2)
U81(mark(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, mark(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, mark(X3)) → U81(X1, X2, X3)
U81(active(X1), X2, X3) → U81(X1, X2, X3)
U81(X1, active(X2), X3) → U81(X1, X2, X3)
U81(X1, X2, active(X3)) → U81(X1, X2, X3)
U82(mark(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, mark(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, mark(X3)) → U82(X1, X2, X3)
U82(active(X1), X2, X3) → U82(X1, X2, X3)
U82(X1, active(X2), X3) → U82(X1, X2, X3)
U82(X1, X2, active(X3)) → U82(X1, X2, X3)
fst(mark(X)) → fst(X)
fst(active(X)) → fst(X)
natsFrom(mark(X)) → natsFrom(X)
natsFrom(active(X)) → natsFrom(X)
s(mark(X)) → s(X)
s(active(X)) → s(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
tail(mark(X)) → tail(X)
tail(active(X)) → tail(X)
take(mark(X1), X2) → take(X1, X2)
take(X1, mark(X2)) → take(X1, X2)
take(active(X1), X2) → take(X1, X2)
take(X1, active(X2)) → take(X1, X2)