a__zeros → cons(0, zeros)
a__and(tt, X) → mark(X)
a__length(nil) → 0
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(0, IL) → nil
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
↳ QTRS
↳ RRRPoloQTRSProof
a__zeros → cons(0, zeros)
a__and(tt, X) → mark(X)
a__length(nil) → 0
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(0, IL) → nil
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
a__zeros → cons(0, zeros)
a__and(tt, X) → mark(X)
a__length(nil) → 0
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(0, IL) → nil
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
Used ordering:
a__and(tt, X) → mark(X)
POL(0) = 0
POL(a__and(x1, x2)) = x1 + x2
POL(a__length(x1)) = x1
POL(a__take(x1, x2)) = x1 + x2
POL(a__zeros) = 0
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(length(x1)) = x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(s(x1)) = 2·x1
POL(take(x1, x2)) = x1 + x2
POL(tt) = 1
POL(zeros) = 0
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
a__zeros → cons(0, zeros)
a__length(nil) → 0
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(0, IL) → nil
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
a__zeros → cons(0, zeros)
a__length(nil) → 0
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(0, IL) → nil
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
Used ordering:
a__take(0, IL) → nil
POL(0) = 0
POL(a__and(x1, x2)) = 2·x1 + 2·x2
POL(a__length(x1)) = x1
POL(a__take(x1, x2)) = 1 + 2·x1 + x2
POL(a__zeros) = 0
POL(and(x1, x2)) = 2·x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + x2
POL(length(x1)) = x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(s(x1)) = x1
POL(take(x1, x2)) = 1 + 2·x1 + x2
POL(tt) = 0
POL(zeros) = 0
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
a__zeros → cons(0, zeros)
a__length(nil) → 0
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
a__zeros → cons(0, zeros)
a__length(nil) → 0
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
Used ordering:
a__length(nil) → 0
POL(0) = 0
POL(a__and(x1, x2)) = 2·x1 + x2
POL(a__length(x1)) = x1
POL(a__take(x1, x2)) = x1 + 2·x2
POL(a__zeros) = 0
POL(and(x1, x2)) = 2·x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(length(x1)) = x1
POL(mark(x1)) = x1
POL(nil) = 2
POL(s(x1)) = 2·x1
POL(take(x1, x2)) = x1 + 2·x2
POL(tt) = 2
POL(zeros) = 0
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
MARK(take(X1, X2)) → MARK(X2)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(zeros) → A__ZEROS
MARK(s(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(length(X)) → A__LENGTH(mark(X))
A__LENGTH(cons(N, L)) → MARK(L)
MARK(length(X)) → MARK(X)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
MARK(and(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → MARK(X1)
A__LENGTH(cons(N, L)) → A__LENGTH(mark(L))
A__TAKE(s(M), cons(N, IL)) → MARK(N)
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MARK(take(X1, X2)) → MARK(X2)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(zeros) → A__ZEROS
MARK(s(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(length(X)) → A__LENGTH(mark(X))
A__LENGTH(cons(N, L)) → MARK(L)
MARK(length(X)) → MARK(X)
MARK(and(X1, X2)) → A__AND(mark(X1), X2)
MARK(and(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → MARK(X1)
A__LENGTH(cons(N, L)) → A__LENGTH(mark(L))
A__TAKE(s(M), cons(N, IL)) → MARK(N)
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
MARK(take(X1, X2)) → MARK(X2)
MARK(length(X)) → MARK(X)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(s(X)) → MARK(X)
MARK(and(X1, X2)) → MARK(X1)
MARK(take(X1, X2)) → MARK(X1)
MARK(cons(X1, X2)) → MARK(X1)
A__LENGTH(cons(N, L)) → A__LENGTH(mark(L))
MARK(length(X)) → A__LENGTH(mark(X))
A__TAKE(s(M), cons(N, IL)) → MARK(N)
A__LENGTH(cons(N, L)) → MARK(L)
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
MARK(and(X1, X2)) → MARK(X1)
POL(0) = 0
POL(A__LENGTH(x1)) = x1
POL(A__TAKE(x1, x2)) = x1 + x2
POL(MARK(x1)) = x1
POL(a__and(x1, x2)) = 2 + x1 + x2
POL(a__length(x1)) = 2·x1
POL(a__take(x1, x2)) = x1 + x2
POL(a__zeros) = 0
POL(and(x1, x2)) = 2 + x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(length(x1)) = 2·x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(s(x1)) = 2·x1
POL(take(x1, x2)) = x1 + x2
POL(tt) = 0
POL(zeros) = 0
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
MARK(length(X)) → MARK(X)
MARK(take(X1, X2)) → MARK(X2)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(s(X)) → MARK(X)
MARK(take(X1, X2)) → MARK(X1)
MARK(cons(X1, X2)) → MARK(X1)
MARK(length(X)) → A__LENGTH(mark(X))
A__LENGTH(cons(N, L)) → A__LENGTH(mark(L))
A__TAKE(s(M), cons(N, IL)) → MARK(N)
A__LENGTH(cons(N, L)) → MARK(L)
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
MARK(length(X)) → MARK(X)
MARK(length(X)) → A__LENGTH(mark(X))
A__LENGTH(cons(N, L)) → MARK(L)
POL(0) = 0
POL(A__LENGTH(x1)) = 1 + 2·x1
POL(A__TAKE(x1, x2)) = 2·x1 + x2
POL(MARK(x1)) = 2·x1
POL(a__and(x1, x2)) = x1 + x2
POL(a__length(x1)) = 1 + x1
POL(a__take(x1, x2)) = x1 + 2·x2
POL(a__zeros) = 0
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 2·x1 + x2
POL(length(x1)) = 1 + 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
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
MARK(take(X1, X2)) → MARK(X2)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(s(X)) → MARK(X)
MARK(take(X1, X2)) → MARK(X1)
MARK(cons(X1, X2)) → MARK(X1)
A__LENGTH(cons(N, L)) → A__LENGTH(mark(L))
A__TAKE(s(M), cons(N, IL)) → MARK(N)
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
A__LENGTH(cons(N, L)) → A__LENGTH(mark(L))
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
A__LENGTH(cons(y0, s(x0))) → A__LENGTH(s(mark(x0)))
A__LENGTH(cons(y0, and(x0, x1))) → A__LENGTH(a__and(mark(x0), x1))
A__LENGTH(cons(y0, tt)) → A__LENGTH(tt)
A__LENGTH(cons(y0, 0)) → A__LENGTH(0)
A__LENGTH(cons(y0, zeros)) → A__LENGTH(a__zeros)
A__LENGTH(cons(y0, length(x0))) → A__LENGTH(a__length(mark(x0)))
A__LENGTH(cons(y0, take(x0, x1))) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(y0, cons(x0, x1))) → A__LENGTH(cons(mark(x0), x1))
A__LENGTH(cons(y0, nil)) → A__LENGTH(nil)
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
A__LENGTH(cons(y0, and(x0, x1))) → A__LENGTH(a__and(mark(x0), x1))
A__LENGTH(cons(y0, s(x0))) → A__LENGTH(s(mark(x0)))
A__LENGTH(cons(y0, tt)) → A__LENGTH(tt)
A__LENGTH(cons(y0, 0)) → A__LENGTH(0)
A__LENGTH(cons(y0, length(x0))) → A__LENGTH(a__length(mark(x0)))
A__LENGTH(cons(y0, zeros)) → A__LENGTH(a__zeros)
A__LENGTH(cons(y0, cons(x0, x1))) → A__LENGTH(cons(mark(x0), x1))
A__LENGTH(cons(y0, take(x0, x1))) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(y0, nil)) → A__LENGTH(nil)
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
A__LENGTH(cons(y0, and(x0, x1))) → A__LENGTH(a__and(mark(x0), x1))
A__LENGTH(cons(y0, length(x0))) → A__LENGTH(a__length(mark(x0)))
A__LENGTH(cons(y0, zeros)) → A__LENGTH(a__zeros)
A__LENGTH(cons(y0, take(x0, x1))) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(y0, cons(x0, x1))) → A__LENGTH(cons(mark(x0), x1))
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
A__LENGTH(cons(y0, zeros)) → A__LENGTH(zeros)
A__LENGTH(cons(y0, zeros)) → A__LENGTH(cons(0, zeros))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
A__LENGTH(cons(y0, and(x0, x1))) → A__LENGTH(a__and(mark(x0), x1))
A__LENGTH(cons(y0, length(x0))) → A__LENGTH(a__length(mark(x0)))
A__LENGTH(cons(y0, zeros)) → A__LENGTH(zeros)
A__LENGTH(cons(y0, cons(x0, x1))) → A__LENGTH(cons(mark(x0), x1))
A__LENGTH(cons(y0, take(x0, x1))) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(y0, zeros)) → A__LENGTH(cons(0, zeros))
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
A__LENGTH(cons(y0, zeros)) → A__LENGTH(cons(0, zeros))
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
A__LENGTH(cons(y0, zeros)) → A__LENGTH(cons(0, zeros))
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ QDP
A__LENGTH(cons(y0, zeros)) → A__LENGTH(cons(0, zeros))
A__LENGTH(cons(0, zeros)) → A__LENGTH(cons(0, zeros))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ QDP
↳ QDP
A__LENGTH(cons(0, zeros)) → A__LENGTH(cons(0, zeros))
A__LENGTH(cons(0, zeros)) → A__LENGTH(cons(0, zeros))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ RuleRemovalProof
↳ QDP
A__LENGTH(cons(y0, and(x0, x1))) → A__LENGTH(a__and(mark(x0), x1))
A__LENGTH(cons(y0, length(x0))) → A__LENGTH(a__length(mark(x0)))
A__LENGTH(cons(y0, cons(x0, x1))) → A__LENGTH(cons(mark(x0), x1))
A__LENGTH(cons(y0, take(x0, x1))) → A__LENGTH(a__take(mark(x0), mark(x1)))
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
A__LENGTH(cons(y0, and(x0, x1))) → A__LENGTH(a__and(mark(x0), x1))
POL(0) = 0
POL(A__LENGTH(x1)) = x1
POL(a__and(x1, x2)) = 2 + 2·x1 + x2
POL(a__length(x1)) = x1
POL(a__take(x1, x2)) = x1 + 2·x2
POL(a__zeros) = 0
POL(and(x1, x2)) = 2 + 2·x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(length(x1)) = x1
POL(mark(x1)) = x1
POL(nil) = 0
POL(s(x1)) = 2·x1
POL(take(x1, x2)) = x1 + 2·x2
POL(tt) = 0
POL(zeros) = 0
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ QDPOrderProof
↳ QDP
A__LENGTH(cons(y0, length(x0))) → A__LENGTH(a__length(mark(x0)))
A__LENGTH(cons(y0, take(x0, x1))) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(y0, cons(x0, x1))) → A__LENGTH(cons(mark(x0), x1))
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A__LENGTH(cons(y0, length(x0))) → A__LENGTH(a__length(mark(x0)))
Used ordering: Polynomial interpretation with max and min functions [25]:
A__LENGTH(cons(y0, take(x0, x1))) → A__LENGTH(a__take(mark(x0), mark(x1)))
A__LENGTH(cons(y0, cons(x0, x1))) → A__LENGTH(cons(mark(x0), x1))
POL(0) = 0
POL(A__LENGTH(x1)) = x1
POL(a__and(x1, x2)) = x2
POL(a__length(x1)) = 0
POL(a__take(x1, x2)) = 1
POL(a__zeros) = 0
POL(and(x1, x2)) = x2
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__take(X1, X2) → take(X1, X2)
a__length(X) → length(X)
mark(length(X)) → a__length(mark(X))
mark(and(X1, X2)) → a__and(mark(X1), X2)
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → s(a__length(mark(L)))
a__and(X1, X2) → and(X1, X2)
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
A__LENGTH(cons(y0, cons(x0, x1))) → A__LENGTH(cons(mark(x0), x1))
A__LENGTH(cons(y0, take(x0, x1))) → A__LENGTH(a__take(mark(x0), mark(x1)))
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
A__LENGTH(cons(y0, cons(x0, x1))) → A__LENGTH(cons(mark(x0), x1))
Used ordering: Polynomial interpretation with max and min functions [25]:
A__LENGTH(cons(y0, take(x0, x1))) → A__LENGTH(a__take(mark(x0), mark(x1)))
POL(0) = 0
POL(A__LENGTH(x1)) = x1
POL(a__and(x1, x2)) = 1
POL(a__length(x1)) = 0
POL(a__take(x1, x2)) = 1
POL(a__zeros) = 0
POL(and(x1, x2)) = 1
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__take(X1, X2) → take(X1, X2)
a__length(X) → length(X)
mark(length(X)) → a__length(mark(X))
mark(and(X1, X2)) → a__and(mark(X1), X2)
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
a__length(cons(N, L)) → s(a__length(mark(L)))
a__and(X1, X2) → and(X1, X2)
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(take(X1, X2)) → a__take(mark(X1), mark(X2))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
A__LENGTH(cons(y0, take(x0, x1))) → A__LENGTH(a__take(mark(x0), mark(x1)))
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
MARK(take(X1, X2)) → MARK(X2)
MARK(take(X1, X2)) → A__TAKE(mark(X1), mark(X2))
MARK(s(X)) → MARK(X)
MARK(take(X1, X2)) → MARK(X1)
MARK(cons(X1, X2)) → MARK(X1)
A__TAKE(s(M), cons(N, IL)) → MARK(N)
a__zeros → cons(0, zeros)
a__length(cons(N, L)) → s(a__length(mark(L)))
a__take(s(M), cons(N, IL)) → cons(mark(N), take(M, IL))
mark(zeros) → a__zeros
mark(and(X1, X2)) → a__and(mark(X1), X2)
mark(length(X)) → a__length(mark(X))
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(nil) → nil
mark(s(X)) → s(mark(X))
a__zeros → zeros
a__and(X1, X2) → and(X1, X2)
a__length(X) → length(X)
a__take(X1, X2) → take(X1, X2)
mark(0)
mark(tt)
a__length(x0)
mark(zeros)
mark(cons(x0, x1))
a__and(x0, x1)
a__take(x0, x1)
a__zeros
mark(take(x0, x1))
mark(and(x0, x1))
mark(nil)
mark(s(x0))
mark(length(x0))