a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(nil) → 0
a__length(cons(N, L)) → a__U11(tt, L)
a__take(0, IL) → nil
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(nil) → 0
a__length(cons(N, L)) → a__U11(tt, L)
a__take(0, IL) → nil
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(nil) → 0
a__length(cons(N, L)) → a__U11(tt, L)
a__take(0, IL) → nil
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
Used ordering:
a__length(nil) → 0
a__take(0, IL) → nil
POL(0) = 0
POL(U11(x1, x2)) = x1 + x2
POL(U12(x1, x2)) = x1 + x2
POL(U21(x1, x2, x3, x4)) = 2 + x1 + x2 + x3 + x4
POL(U22(x1, x2, x3, x4)) = 2 + x1 + x2 + x3 + x4
POL(U23(x1, x2, x3, x4)) = 2 + x1 + x2 + x3 + x4
POL(a__U11(x1, x2)) = x1 + x2
POL(a__U12(x1, x2)) = x1 + x2
POL(a__U21(x1, x2, x3, x4)) = 2 + x1 + x2 + x3 + x4
POL(a__U22(x1, x2, x3, x4)) = 2 + x1 + x2 + x3 + x4
POL(a__U23(x1, x2, x3, x4)) = 2 + x1 + x2 + x3 + x4
POL(a__length(x1)) = x1
POL(a__take(x1, x2)) = 2 + x1 + x2
POL(a__zeros) = 0
POL(cons(x1, x2)) = x1 + x2
POL(length(x1)) = x1
POL(mark(x1)) = x1
POL(nil) = 1
POL(s(x1)) = x1
POL(take(x1, x2)) = 2 + x1 + x2
POL(tt) = 0
POL(zeros) = 0
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
MARK(U22(X1, X2, X3, X4)) → MARK(X1)
A__U22(tt, IL, M, N) → A__U23(tt, IL, M, N)
MARK(U23(X1, X2, X3, X4)) → A__U23(mark(X1), X2, X3, X4)
MARK(take(X1, X2)) → MARK(X2)
MARK(U11(X1, X2)) → MARK(X1)
MARK(zeros) → A__ZEROS
MARK(U21(X1, X2, X3, X4)) → A__U21(mark(X1), X2, X3, X4)
MARK(s(X)) → MARK(X)
A__LENGTH(cons(N, L)) → A__U11(tt, L)
MARK(cons(X1, X2)) → MARK(X1)
MARK(length(X)) → A__LENGTH(mark(X))
MARK(U22(X1, X2, X3, X4)) → A__U22(mark(X1), X2, X3, X4)
MARK(length(X)) → MARK(X)
MARK(U11(X1, X2)) → A__U11(mark(X1), X2)
MARK(U12(X1, X2)) → A__U12(mark(X1), X2)
MARK(take(X1, X2)) → MARK(X1)
MARK(U23(X1, X2, X3, X4)) → MARK(X1)
A__U12(tt, L) → A__LENGTH(mark(L))
A__U21(tt, IL, M, N) → A__U22(tt, IL, M, N)
MARK(U12(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
A__U23(tt, IL, M, N) → MARK(N)
A__U12(tt, L) → MARK(L)
A__U11(tt, L) → A__U12(tt, L)
MARK(U21(X1, X2, X3, X4)) → MARK(X1)
A__TAKE(s(M), cons(N, IL)) → A__U21(tt, IL, M, N)
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MARK(U22(X1, X2, X3, X4)) → MARK(X1)
A__U22(tt, IL, M, N) → A__U23(tt, IL, M, N)
MARK(U23(X1, X2, X3, X4)) → A__U23(mark(X1), X2, X3, X4)
MARK(take(X1, X2)) → MARK(X2)
MARK(U11(X1, X2)) → MARK(X1)
MARK(zeros) → A__ZEROS
MARK(U21(X1, X2, X3, X4)) → A__U21(mark(X1), X2, X3, X4)
MARK(s(X)) → MARK(X)
A__LENGTH(cons(N, L)) → A__U11(tt, L)
MARK(cons(X1, X2)) → MARK(X1)
MARK(length(X)) → A__LENGTH(mark(X))
MARK(U22(X1, X2, X3, X4)) → A__U22(mark(X1), X2, X3, X4)
MARK(length(X)) → MARK(X)
MARK(U11(X1, X2)) → A__U11(mark(X1), X2)
MARK(U12(X1, X2)) → A__U12(mark(X1), X2)
MARK(take(X1, X2)) → MARK(X1)
MARK(U23(X1, X2, X3, X4)) → MARK(X1)
A__U12(tt, L) → A__LENGTH(mark(L))
A__U21(tt, IL, M, N) → A__U22(tt, IL, M, N)
MARK(U12(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
A__U23(tt, IL, M, N) → MARK(N)
A__U12(tt, L) → MARK(L)
A__U11(tt, L) → A__U12(tt, L)
MARK(U21(X1, X2, X3, X4)) → MARK(X1)
A__TAKE(s(M), cons(N, IL)) → A__U21(tt, IL, M, N)
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
MARK(U22(X1, X2, X3, X4)) → MARK(X1)
A__U22(tt, IL, M, N) → A__U23(tt, IL, M, N)
MARK(U23(X1, X2, X3, X4)) → A__U23(mark(X1), X2, X3, X4)
MARK(take(X1, X2)) → MARK(X2)
MARK(U21(X1, X2, X3, X4)) → A__U21(mark(X1), X2, X3, X4)
MARK(U11(X1, X2)) → MARK(X1)
MARK(s(X)) → MARK(X)
A__LENGTH(cons(N, L)) → A__U11(tt, L)
MARK(cons(X1, X2)) → MARK(X1)
MARK(length(X)) → A__LENGTH(mark(X))
MARK(U22(X1, X2, X3, X4)) → A__U22(mark(X1), X2, X3, X4)
MARK(length(X)) → MARK(X)
MARK(U11(X1, X2)) → A__U11(mark(X1), X2)
MARK(U12(X1, X2)) → A__U12(mark(X1), X2)
MARK(take(X1, X2)) → MARK(X1)
MARK(U23(X1, X2, X3, X4)) → MARK(X1)
A__U12(tt, L) → A__LENGTH(mark(L))
A__U21(tt, IL, M, N) → A__U22(tt, IL, M, N)
MARK(U12(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
A__U23(tt, IL, M, N) → MARK(N)
A__U12(tt, L) → MARK(L)
A__U11(tt, L) → A__U12(tt, L)
MARK(U21(X1, X2, X3, X4)) → MARK(X1)
A__TAKE(s(M), cons(N, IL)) → A__U21(tt, IL, M, N)
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
MARK(U22(X1, X2, X3, X4)) → MARK(X1)
A__U22(tt, IL, M, N) → A__U23(tt, IL, M, N)
MARK(U23(X1, X2, X3, X4)) → A__U23(mark(X1), X2, X3, X4)
MARK(take(X1, X2)) → MARK(X2)
MARK(take(X1, X2)) → MARK(X1)
MARK(U23(X1, X2, X3, X4)) → MARK(X1)
MARK(U21(X1, X2, X3, X4)) → MARK(X1)
POL(0) = 0
POL(A__LENGTH(x1)) = x1
POL(A__TAKE(x1, x2)) = 1 + x1 + 2·x2
POL(A__U11(x1, x2)) = x1 + x2
POL(A__U12(x1, x2)) = 2·x1 + x2
POL(A__U21(x1, x2, x3, x4)) = 1 + x1 + x2 + x3 + 2·x4
POL(A__U22(x1, x2, x3, x4)) = 1 + 2·x1 + x2 + x3 + 2·x4
POL(A__U23(x1, x2, x3, x4)) = 2·x1 + x2 + x3 + 2·x4
POL(MARK(x1)) = x1
POL(U11(x1, x2)) = x1 + 2·x2
POL(U12(x1, x2)) = 2·x1 + 2·x2
POL(U21(x1, x2, x3, x4)) = 1 + x1 + 2·x2 + x3 + 2·x4
POL(U22(x1, x2, x3, x4)) = 1 + 2·x1 + 2·x2 + x3 + 2·x4
POL(U23(x1, x2, x3, x4)) = 1 + 2·x1 + 2·x2 + x3 + 2·x4
POL(a__U11(x1, x2)) = x1 + 2·x2
POL(a__U12(x1, x2)) = 2·x1 + 2·x2
POL(a__U21(x1, x2, x3, x4)) = 1 + x1 + 2·x2 + x3 + 2·x4
POL(a__U22(x1, x2, x3, x4)) = 1 + 2·x1 + 2·x2 + x3 + 2·x4
POL(a__U23(x1, x2, x3, x4)) = 1 + 2·x1 + 2·x2 + x3 + 2·x4
POL(a__length(x1)) = 2·x1
POL(a__take(x1, x2)) = 1 + x1 + 2·x2
POL(a__zeros) = 0
POL(cons(x1, x2)) = 2·x1 + x2
POL(length(x1)) = 2·x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(s(x1)) = x1
POL(take(x1, x2)) = 1 + x1 + 2·x2
POL(tt) = 0
POL(zeros) = 0
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
A__U21(tt, IL, M, N) → A__U22(tt, IL, M, N)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(U12(X1, X2)) → MARK(X1)
A__U23(tt, IL, M, N) → MARK(N)
MARK(U21(X1, X2, X3, X4)) → A__U21(mark(X1), X2, X3, X4)
MARK(U11(X1, X2)) → MARK(X1)
A__U12(tt, L) → MARK(L)
MARK(s(X)) → MARK(X)
A__LENGTH(cons(N, L)) → A__U11(tt, L)
MARK(cons(X1, X2)) → MARK(X1)
MARK(length(X)) → A__LENGTH(mark(X))
MARK(U22(X1, X2, X3, X4)) → A__U22(mark(X1), X2, X3, X4)
MARK(length(X)) → MARK(X)
MARK(U11(X1, X2)) → A__U11(mark(X1), X2)
MARK(U12(X1, X2)) → A__U12(mark(X1), X2)
A__U11(tt, L) → A__U12(tt, L)
A__TAKE(s(M), cons(N, IL)) → A__U21(tt, IL, M, N)
A__U12(tt, L) → A__LENGTH(mark(L))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
MARK(length(X)) → MARK(X)
MARK(U11(X1, X2)) → A__U11(mark(X1), X2)
MARK(U12(X1, X2)) → MARK(X1)
MARK(U11(X1, X2)) → MARK(X1)
MARK(s(X)) → MARK(X)
MARK(U12(X1, X2)) → A__U12(mark(X1), X2)
A__U12(tt, L) → MARK(L)
A__LENGTH(cons(N, L)) → A__U11(tt, L)
A__U11(tt, L) → A__U12(tt, L)
MARK(cons(X1, X2)) → MARK(X1)
MARK(length(X)) → A__LENGTH(mark(X))
A__U12(tt, L) → A__LENGTH(mark(L))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
MARK(length(X)) → MARK(X)
MARK(U11(X1, X2)) → A__U11(mark(X1), X2)
MARK(U12(X1, X2)) → MARK(X1)
MARK(U11(X1, X2)) → MARK(X1)
MARK(U12(X1, X2)) → A__U12(mark(X1), X2)
A__U12(tt, L) → MARK(L)
MARK(length(X)) → A__LENGTH(mark(X))
POL(0) = 0
POL(A__LENGTH(x1)) = 2 + 2·x1
POL(A__U11(x1, x2)) = 2 + x1 + 2·x2
POL(A__U12(x1, x2)) = 2 + x1 + 2·x2
POL(MARK(x1)) = 1 + 2·x1
POL(U11(x1, x2)) = 2 + x1 + 2·x2
POL(U12(x1, x2)) = 2 + x1 + 2·x2
POL(U21(x1, x2, x3, x4)) = 2·x1 + 2·x2 + x3 + x4
POL(U22(x1, x2, x3, x4)) = x1 + 2·x2 + x3 + x4
POL(U23(x1, x2, x3, x4)) = x1 + 2·x2 + x3 + x4
POL(a__U11(x1, x2)) = 2 + x1 + 2·x2
POL(a__U12(x1, x2)) = 2 + x1 + 2·x2
POL(a__U21(x1, x2, x3, x4)) = 2·x1 + 2·x2 + x3 + x4
POL(a__U22(x1, x2, x3, x4)) = x1 + 2·x2 + x3 + x4
POL(a__U23(x1, x2, x3, x4)) = x1 + 2·x2 + x3 + x4
POL(a__length(x1)) = 2 + 2·x1
POL(a__take(x1, x2)) = x1 + 2·x2
POL(a__zeros) = 0
POL(cons(x1, x2)) = x1 + x2
POL(length(x1)) = 2 + 2·x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(s(x1)) = x1
POL(take(x1, x2)) = x1 + 2·x2
POL(tt) = 0
POL(zeros) = 0
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
MARK(s(X)) → MARK(X)
A__U11(tt, L) → A__U12(tt, L)
A__LENGTH(cons(N, L)) → A__U11(tt, L)
MARK(cons(X1, X2)) → MARK(X1)
A__U12(tt, L) → A__LENGTH(mark(L))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
A__LENGTH(cons(N, L)) → A__U11(tt, L)
A__U11(tt, L) → A__U12(tt, L)
A__U12(tt, L) → A__LENGTH(mark(L))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
A__U12(tt, zeros) → A__LENGTH(a__zeros)
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__U12(tt, tt) → A__LENGTH(tt)
A__U12(tt, U12(x0, x1)) → A__LENGTH(a__U12(mark(x0), x1))
A__U12(tt, length(x0)) → A__LENGTH(a__length(mark(x0)))
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, 0) → A__LENGTH(0)
A__U12(tt, U11(x0, x1)) → A__LENGTH(a__U11(mark(x0), x1))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U12(tt, s(x0)) → A__LENGTH(s(mark(x0)))
A__U12(tt, nil) → A__LENGTH(nil)
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
A__U12(tt, zeros) → A__LENGTH(a__zeros)
A__LENGTH(cons(N, L)) → A__U11(tt, L)
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__U12(tt, tt) → A__LENGTH(tt)
A__U12(tt, U12(x0, x1)) → A__LENGTH(a__U12(mark(x0), x1))
A__U12(tt, length(x0)) → A__LENGTH(a__length(mark(x0)))
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, 0) → A__LENGTH(0)
A__U12(tt, U11(x0, x1)) → A__LENGTH(a__U11(mark(x0), x1))
A__U11(tt, L) → A__U12(tt, L)
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U12(tt, nil) → A__LENGTH(nil)
A__U12(tt, s(x0)) → A__LENGTH(s(mark(x0)))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, U11(x0, x1)) → A__LENGTH(a__U11(mark(x0), x1))
A__U12(tt, zeros) → A__LENGTH(a__zeros)
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__U11(tt, L) → A__U12(tt, L)
A__LENGTH(cons(N, L)) → A__U11(tt, L)
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U12(tt, U12(x0, x1)) → A__LENGTH(a__U12(mark(x0), x1))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__U12(tt, length(x0)) → A__LENGTH(a__length(mark(x0)))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
A__U12(tt, zeros) → A__LENGTH(zeros)
A__U12(tt, zeros) → A__LENGTH(cons(0, zeros))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(N, L)) → A__U11(tt, L)
A__U12(tt, U12(x0, x1)) → A__LENGTH(a__U12(mark(x0), x1))
A__U12(tt, length(x0)) → A__LENGTH(a__length(mark(x0)))
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, U11(x0, x1)) → A__LENGTH(a__U11(mark(x0), x1))
A__U11(tt, L) → A__U12(tt, L)
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U12(tt, zeros) → A__LENGTH(zeros)
A__U12(tt, zeros) → A__LENGTH(cons(0, zeros))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, U11(x0, x1)) → A__LENGTH(a__U11(mark(x0), x1))
A__LENGTH(cons(N, L)) → A__U11(tt, L)
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__U11(tt, L) → A__U12(tt, L)
A__U12(tt, zeros) → A__LENGTH(cons(0, zeros))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U12(tt, U12(x0, x1)) → A__LENGTH(a__U12(mark(x0), x1))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__U12(tt, length(x0)) → A__LENGTH(a__length(mark(x0)))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U11(y_0, y_1)) → A__U12(tt, U11(y_0, y_1))
A__U11(tt, length(y_0)) → A__U12(tt, length(y_0))
A__U11(tt, U21(y_0, y_1, y_2, y_3)) → A__U12(tt, U21(y_0, y_1, y_2, y_3))
A__U11(tt, cons(y_0, y_1)) → A__U12(tt, cons(y_0, y_1))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__U11(tt, U12(y_0, y_1)) → A__U12(tt, U12(y_0, y_1))
A__U11(tt, zeros) → A__U12(tt, zeros)
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U11(y_0, y_1)) → A__U12(tt, U11(y_0, y_1))
A__LENGTH(cons(N, L)) → A__U11(tt, L)
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__U12(tt, U12(x0, x1)) → A__LENGTH(a__U12(mark(x0), x1))
A__U12(tt, length(x0)) → A__LENGTH(a__length(mark(x0)))
A__U11(tt, zeros) → A__U12(tt, zeros)
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, U11(x0, x1)) → A__LENGTH(a__U11(mark(x0), x1))
A__U11(tt, length(y_0)) → A__U12(tt, length(y_0))
A__U12(tt, zeros) → A__LENGTH(cons(0, zeros))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__U11(tt, cons(y_0, y_1)) → A__U12(tt, cons(y_0, y_1))
A__U11(tt, U21(y_0, y_1, y_2, y_3)) → A__U12(tt, U21(y_0, y_1, y_2, y_3))
A__U11(tt, U12(y_0, y_1)) → A__U12(tt, U12(y_0, y_1))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
A__LENGTH(cons(x0, U12(y_0, y_1))) → A__U11(tt, U12(y_0, y_1))
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__LENGTH(cons(x0, U21(y_0, y_1, y_2, y_3))) → A__U11(tt, U21(y_0, y_1, y_2, y_3))
A__LENGTH(cons(x0, U11(y_0, y_1))) → A__U11(tt, U11(y_0, y_1))
A__LENGTH(cons(x0, zeros)) → A__U11(tt, zeros)
A__LENGTH(cons(x0, length(y_0))) → A__U11(tt, length(y_0))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__LENGTH(cons(x0, cons(y_0, y_1))) → A__U11(tt, cons(y_0, y_1))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U11(y_0, y_1)) → A__U12(tt, U11(y_0, y_1))
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__U12(tt, U12(x0, x1)) → A__LENGTH(a__U12(mark(x0), x1))
A__U11(tt, zeros) → A__U12(tt, zeros)
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, U11(x0, x1)) → A__LENGTH(a__U11(mark(x0), x1))
A__LENGTH(cons(x0, U21(y_0, y_1, y_2, y_3))) → A__U11(tt, U21(y_0, y_1, y_2, y_3))
A__LENGTH(cons(x0, U11(y_0, y_1))) → A__U11(tt, U11(y_0, y_1))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U11(tt, U12(y_0, y_1)) → A__U12(tt, U12(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__LENGTH(cons(x0, cons(y_0, y_1))) → A__U11(tt, cons(y_0, y_1))
A__LENGTH(cons(x0, U12(y_0, y_1))) → A__U11(tt, U12(y_0, y_1))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__LENGTH(cons(x0, zeros)) → A__U11(tt, zeros)
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__U12(tt, length(x0)) → A__LENGTH(a__length(mark(x0)))
A__LENGTH(cons(x0, length(y_0))) → A__U11(tt, length(y_0))
A__U11(tt, length(y_0)) → A__U12(tt, length(y_0))
A__U12(tt, zeros) → A__LENGTH(cons(0, zeros))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__U11(tt, cons(y_0, y_1)) → A__U12(tt, cons(y_0, y_1))
A__U11(tt, U21(y_0, y_1, y_2, y_3)) → A__U12(tt, U21(y_0, y_1, y_2, y_3))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
A__LENGTH(cons(x0, zeros)) → A__U11(tt, zeros)
A__U12(tt, zeros) → A__LENGTH(cons(0, zeros))
A__U11(tt, zeros) → A__U12(tt, zeros)
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
A__LENGTH(cons(x0, zeros)) → A__U11(tt, zeros)
A__U12(tt, zeros) → A__LENGTH(cons(0, zeros))
A__U11(tt, zeros) → A__U12(tt, zeros)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ QDP
A__LENGTH(cons(x0, zeros)) → A__U11(tt, zeros)
A__U12(tt, zeros) → A__LENGTH(cons(0, zeros))
A__U11(tt, zeros) → A__U12(tt, zeros)
A__LENGTH(cons(0, zeros)) → A__U11(tt, zeros)
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ QDP
↳ QDP
A__LENGTH(cons(0, zeros)) → A__U11(tt, zeros)
A__U12(tt, zeros) → A__LENGTH(cons(0, zeros))
A__U11(tt, zeros) → A__U12(tt, zeros)
A__LENGTH(cons(0, zeros)) → A__U11(tt, zeros)
A__U12(tt, zeros) → A__LENGTH(cons(0, zeros))
A__U11(tt, zeros) → A__U12(tt, zeros)
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
A__LENGTH(cons(x0, U12(y_0, y_1))) → A__U11(tt, U12(y_0, y_1))
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U11(y_0, y_1)) → A__U12(tt, U11(y_0, y_1))
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__U12(tt, U12(x0, x1)) → A__LENGTH(a__U12(mark(x0), x1))
A__U12(tt, length(x0)) → A__LENGTH(a__length(mark(x0)))
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, U11(x0, x1)) → A__LENGTH(a__U11(mark(x0), x1))
A__LENGTH(cons(x0, U21(y_0, y_1, y_2, y_3))) → A__U11(tt, U21(y_0, y_1, y_2, y_3))
A__LENGTH(cons(x0, U11(y_0, y_1))) → A__U11(tt, U11(y_0, y_1))
A__LENGTH(cons(x0, length(y_0))) → A__U11(tt, length(y_0))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U11(tt, length(y_0)) → A__U12(tt, length(y_0))
A__U11(tt, cons(y_0, y_1)) → A__U12(tt, cons(y_0, y_1))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__U11(tt, U21(y_0, y_1, y_2, y_3)) → A__U12(tt, U21(y_0, y_1, y_2, y_3))
A__U11(tt, U12(y_0, y_1)) → A__U12(tt, U12(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__LENGTH(cons(x0, cons(y_0, y_1))) → A__U11(tt, cons(y_0, y_1))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A__LENGTH(cons(x0, U12(y_0, y_1))) → A__U11(tt, U12(y_0, y_1))
A__LENGTH(cons(x0, U11(y_0, y_1))) → A__U11(tt, U11(y_0, y_1))
A__LENGTH(cons(x0, length(y_0))) → A__U11(tt, length(y_0))
Used ordering: Polynomial interpretation with max and min functions [25]:
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U11(y_0, y_1)) → A__U12(tt, U11(y_0, y_1))
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__U12(tt, U12(x0, x1)) → A__LENGTH(a__U12(mark(x0), x1))
A__U12(tt, length(x0)) → A__LENGTH(a__length(mark(x0)))
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, U11(x0, x1)) → A__LENGTH(a__U11(mark(x0), x1))
A__LENGTH(cons(x0, U21(y_0, y_1, y_2, y_3))) → A__U11(tt, U21(y_0, y_1, y_2, y_3))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U11(tt, length(y_0)) → A__U12(tt, length(y_0))
A__U11(tt, cons(y_0, y_1)) → A__U12(tt, cons(y_0, y_1))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__U11(tt, U21(y_0, y_1, y_2, y_3)) → A__U12(tt, U21(y_0, y_1, y_2, y_3))
A__U11(tt, U12(y_0, y_1)) → A__U12(tt, U12(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__LENGTH(cons(x0, cons(y_0, y_1))) → A__U11(tt, cons(y_0, y_1))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
POL(0) = 0
POL(A__LENGTH(x1)) = x1
POL(A__U11(x1, x2)) = x2
POL(A__U12(x1, x2)) = x2
POL(U11(x1, x2)) = 0
POL(U12(x1, x2)) = 0
POL(U21(x1, x2, x3, x4)) = 1
POL(U22(x1, x2, x3, x4)) = 1
POL(U23(x1, x2, x3, x4)) = 1
POL(a__U11(x1, x2)) = 0
POL(a__U12(x1, x2)) = 0
POL(a__U21(x1, x2, x3, x4)) = 1
POL(a__U22(x1, x2, x3, x4)) = 1
POL(a__U23(x1, x2, x3, x4)) = 1
POL(a__length(x1)) = 0
POL(a__take(x1, x2)) = 1
POL(a__zeros) = 0
POL(cons(x1, x2)) = 1
POL(length(x1)) = 0
POL(mark(x1)) = x1
POL(nil) = 0
POL(s(x1)) = 0
POL(take(x1, x2)) = 1
POL(tt) = 0
POL(zeros) = 0
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U11(X1, X2) → U11(X1, X2)
mark(s(X)) → s(mark(X))
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__length(X) → length(X)
a__U12(X1, X2) → U12(X1, X2)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(length(X)) → a__length(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U11(y_0, y_1)) → A__U12(tt, U11(y_0, y_1))
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__U12(tt, U12(x0, x1)) → A__LENGTH(a__U12(mark(x0), x1))
A__U12(tt, length(x0)) → A__LENGTH(a__length(mark(x0)))
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, U11(x0, x1)) → A__LENGTH(a__U11(mark(x0), x1))
A__LENGTH(cons(x0, U21(y_0, y_1, y_2, y_3))) → A__U11(tt, U21(y_0, y_1, y_2, y_3))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U11(tt, length(y_0)) → A__U12(tt, length(y_0))
A__U11(tt, U21(y_0, y_1, y_2, y_3)) → A__U12(tt, U21(y_0, y_1, y_2, y_3))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__U11(tt, cons(y_0, y_1)) → A__U12(tt, cons(y_0, y_1))
A__U11(tt, U12(y_0, y_1)) → A__U12(tt, U12(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
A__LENGTH(cons(x0, cons(y_0, y_1))) → A__U11(tt, cons(y_0, y_1))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__LENGTH(cons(x0, U21(y_0, y_1, y_2, y_3))) → A__U11(tt, U21(y_0, y_1, y_2, y_3))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U11(tt, cons(y_0, y_1)) → A__U12(tt, cons(y_0, y_1))
A__U11(tt, U21(y_0, y_1, y_2, y_3)) → A__U12(tt, U21(y_0, y_1, y_2, y_3))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
A__LENGTH(cons(x0, cons(y_0, y_1))) → A__U11(tt, cons(y_0, y_1))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A__U12(tt, cons(x0, x1)) → A__LENGTH(cons(mark(x0), x1))
A__U12(tt, U21(x0, x1, x2, x3)) → A__LENGTH(a__U21(mark(x0), x1, x2, x3))
Used ordering: Polynomial interpretation [25]:
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
A__LENGTH(cons(x0, U21(y_0, y_1, y_2, y_3))) → A__U11(tt, U21(y_0, y_1, y_2, y_3))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U11(tt, cons(y_0, y_1)) → A__U12(tt, cons(y_0, y_1))
A__U11(tt, U21(y_0, y_1, y_2, y_3)) → A__U12(tt, U21(y_0, y_1, y_2, y_3))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__LENGTH(cons(x0, cons(y_0, y_1))) → A__U11(tt, cons(y_0, y_1))
POL(0) = 0
POL(A__LENGTH(x1)) = x1
POL(A__U11(x1, x2)) = 1 + x2
POL(A__U12(x1, x2)) = 1 + x2
POL(U11(x1, x2)) = 0
POL(U12(x1, x2)) = 0
POL(U21(x1, x2, x3, x4)) = 1
POL(U22(x1, x2, x3, x4)) = 0
POL(U23(x1, x2, x3, x4)) = 0
POL(a__U11(x1, x2)) = 0
POL(a__U12(x1, x2)) = 0
POL(a__U21(x1, x2, x3, x4)) = 1
POL(a__U22(x1, x2, x3, x4)) = 1
POL(a__U23(x1, x2, x3, x4)) = 1
POL(a__length(x1)) = 1
POL(a__take(x1, x2)) = 1
POL(a__zeros) = 0
POL(cons(x1, x2)) = 1 + x2
POL(length(x1)) = 1
POL(mark(x1)) = 1 + x1
POL(nil) = 0
POL(s(x1)) = 0
POL(take(x1, x2)) = 0
POL(tt) = 0
POL(zeros) = 0
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U11(X1, X2) → U11(X1, X2)
mark(s(X)) → s(mark(X))
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__length(X) → length(X)
a__U12(X1, X2) → U12(X1, X2)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(length(X)) → a__length(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
A__LENGTH(cons(x0, U21(y_0, y_1, y_2, y_3))) → A__U11(tt, U21(y_0, y_1, y_2, y_3))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U11(tt, cons(y_0, y_1)) → A__U12(tt, cons(y_0, y_1))
A__U11(tt, U21(y_0, y_1, y_2, y_3)) → A__U12(tt, U21(y_0, y_1, y_2, y_3))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__LENGTH(cons(x0, cons(y_0, y_1))) → A__U11(tt, cons(y_0, y_1))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A__U12(tt, U22(x0, x1, x2, x3)) → A__LENGTH(a__U22(mark(x0), x1, x2, x3))
A__U12(tt, U23(x0, x1, x2, x3)) → A__LENGTH(a__U23(mark(x0), x1, x2, x3))
Used ordering: Polynomial interpretation [25]:
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
POL(0) = 0
POL(A__LENGTH(x1)) = x1
POL(A__U11(x1, x2)) = 1 + x2
POL(A__U12(x1, x2)) = 1 + x2
POL(U11(x1, x2)) = 0
POL(U12(x1, x2)) = 0
POL(U21(x1, x2, x3, x4)) = 0
POL(U22(x1, x2, x3, x4)) = 1
POL(U23(x1, x2, x3, x4)) = 1
POL(a__U11(x1, x2)) = 0
POL(a__U12(x1, x2)) = 0
POL(a__U21(x1, x2, x3, x4)) = 1
POL(a__U22(x1, x2, x3, x4)) = 1
POL(a__U23(x1, x2, x3, x4)) = 1
POL(a__length(x1)) = 0
POL(a__take(x1, x2)) = 1
POL(a__zeros) = 0
POL(cons(x1, x2)) = 1 + x2
POL(length(x1)) = 0
POL(mark(x1)) = 1 + x1
POL(nil) = 0
POL(s(x1)) = 0
POL(take(x1, x2)) = 0
POL(tt) = 0
POL(zeros) = 0
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U11(X1, X2) → U11(X1, X2)
mark(s(X)) → s(mark(X))
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__length(X) → length(X)
a__U12(X1, X2) → U12(X1, X2)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(length(X)) → a__length(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
A__LENGTH(cons(x0, U23(y_0, y_1, y_2, y_3))) → A__U11(tt, U23(y_0, y_1, y_2, y_3))
A__U11(tt, U23(y_0, y_1, y_2, y_3)) → A__U12(tt, U23(y_0, y_1, y_2, y_3))
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
A__LENGTH(cons(x0, U22(y_0, y_1, y_2, y_3))) → A__U11(tt, U22(y_0, y_1, y_2, y_3))
A__U11(tt, U22(y_0, y_1, y_2, y_3)) → A__U12(tt, U22(y_0, y_1, y_2, y_3))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDP
A__U12(tt, take(x0, x1)) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__U11(tt, take(y_0, y_1)) → A__U12(tt, take(y_0, y_1))
A__LENGTH(cons(x0, take(y_0, y_1))) → A__U11(tt, take(y_0, y_1))
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
MARK(s(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
a__zeros → cons(0, zeros)
a__U11(tt, L) → a__U12(tt, L)
a__U12(tt, L) → s(a__length(mark(L)))
a__U21(tt, IL, M, N) → a__U22(tt, IL, M, N)
a__U22(tt, IL, M, N) → a__U23(tt, IL, M, N)
a__U23(tt, IL, M, N) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → a__U11(tt, L)
a__take(s(M), cons(N, IL)) → a__U21(tt, IL, M, N)
mark(zeros) → a__zeros
mark(U11(X1, X2)) → a__U11(mark(X1), X2)
mark(U12(X1, X2)) → a__U12(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
mark(U21(X1, X2, X3, X4)) → a__U21(mark(X1), X2, X3, X4)
mark(U22(X1, X2, X3, X4)) → a__U22(mark(X1), X2, X3, X4)
mark(U23(X1, X2, X3, X4)) → a__U23(mark(X1), X2, X3, X4)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(0) → 0
mark(tt) → tt
mark(s(X)) → s(mark(X))
mark(nil) → nil
a__zeros → zeros
a__U11(X1, X2) → U11(X1, X2)
a__U12(X1, X2) → U12(X1, X2)
a__length(X) → length(X)
a__U21(X1, X2, X3, X4) → U21(X1, X2, X3, X4)
a__U22(X1, X2, X3, X4) → U22(X1, X2, X3, X4)
a__U23(X1, X2, X3, X4) → U23(X1, X2, X3, X4)
a__take(X1, X2) → take(X1, X2)
a__U21(x0, x1, x2, x3)
a__take(x0, x1)
mark(U12(x0, x1))
mark(take(x0, x1))
mark(nil)
mark(U11(x0, x1))
a__U11(x0, x1)
mark(length(x0))
mark(U21(x0, x1, x2, x3))
mark(0)
mark(tt)
a__U23(x0, x1, x2, x3)
a__length(x0)
mark(zeros)
a__U12(x0, x1)
mark(cons(x0, x1))
a__U22(x0, x1, x2, x3)
mark(U22(x0, x1, x2, x3))
a__zeros
mark(U23(x0, x1, x2, x3))
mark(s(x0))