0 QTRS
↳1 DependencyPairsProof (⇔)
↳2 QDP
↳3 DependencyGraphProof (⇔)
↳4 AND
↳5 QDP
↳6 UsableRulesProof (⇔)
↳7 QDP
↳8 QDPSizeChangeProof (⇔)
↳9 YES
↳10 QDP
↳11 Narrowing (⇔)
↳12 QDP
↳13 Narrowing (⇔)
↳14 QDP
↳15 DependencyGraphProof (⇔)
↳16 QDP
↳17 QDPOrderProof (⇔)
↳18 QDP
↳19 NonTerminationProof (⇔)
↳20 NO
from(X) → cons(X, n__from(n__s(X)))
length(n__nil) → 0
length(n__cons(X, Y)) → s(length1(activate(Y)))
length1(X) → length(activate(X))
from(X) → n__from(X)
s(X) → n__s(X)
nil → n__nil
cons(X1, X2) → n__cons(X1, X2)
activate(n__from(X)) → from(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(X) → X
FROM(X) → CONS(X, n__from(n__s(X)))
LENGTH(n__cons(X, Y)) → S(length1(activate(Y)))
LENGTH(n__cons(X, Y)) → LENGTH1(activate(Y))
LENGTH(n__cons(X, Y)) → ACTIVATE(Y)
LENGTH1(X) → LENGTH(activate(X))
LENGTH1(X) → ACTIVATE(X)
ACTIVATE(n__from(X)) → FROM(activate(X))
ACTIVATE(n__from(X)) → ACTIVATE(X)
ACTIVATE(n__s(X)) → S(activate(X))
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__nil) → NIL
ACTIVATE(n__cons(X1, X2)) → CONS(activate(X1), X2)
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
from(X) → cons(X, n__from(n__s(X)))
length(n__nil) → 0
length(n__cons(X, Y)) → s(length1(activate(Y)))
length1(X) → length(activate(X))
from(X) → n__from(X)
s(X) → n__s(X)
nil → n__nil
cons(X1, X2) → n__cons(X1, X2)
activate(n__from(X)) → from(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(X) → X
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__from(X)) → ACTIVATE(X)
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
from(X) → cons(X, n__from(n__s(X)))
length(n__nil) → 0
length(n__cons(X, Y)) → s(length1(activate(Y)))
length1(X) → length(activate(X))
from(X) → n__from(X)
s(X) → n__s(X)
nil → n__nil
cons(X1, X2) → n__cons(X1, X2)
activate(n__from(X)) → from(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(X) → X
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__from(X)) → ACTIVATE(X)
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
From the DPs we obtained the following set of size-change graphs:
LENGTH(n__cons(X, Y)) → LENGTH1(activate(Y))
LENGTH1(X) → LENGTH(activate(X))
from(X) → cons(X, n__from(n__s(X)))
length(n__nil) → 0
length(n__cons(X, Y)) → s(length1(activate(Y)))
length1(X) → length(activate(X))
from(X) → n__from(X)
s(X) → n__s(X)
nil → n__nil
cons(X1, X2) → n__cons(X1, X2)
activate(n__from(X)) → from(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(X) → X
LENGTH1(n__from(x0)) → LENGTH(from(activate(x0)))
LENGTH1(n__s(x0)) → LENGTH(s(activate(x0)))
LENGTH1(n__nil) → LENGTH(nil)
LENGTH1(n__cons(x0, x1)) → LENGTH(cons(activate(x0), x1))
LENGTH1(x0) → LENGTH(x0)
LENGTH(n__cons(X, Y)) → LENGTH1(activate(Y))
LENGTH1(n__from(x0)) → LENGTH(from(activate(x0)))
LENGTH1(n__s(x0)) → LENGTH(s(activate(x0)))
LENGTH1(n__nil) → LENGTH(nil)
LENGTH1(n__cons(x0, x1)) → LENGTH(cons(activate(x0), x1))
LENGTH1(x0) → LENGTH(x0)
from(X) → cons(X, n__from(n__s(X)))
length(n__nil) → 0
length(n__cons(X, Y)) → s(length1(activate(Y)))
length1(X) → length(activate(X))
from(X) → n__from(X)
s(X) → n__s(X)
nil → n__nil
cons(X1, X2) → n__cons(X1, X2)
activate(n__from(X)) → from(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(X) → X
LENGTH1(n__nil) → LENGTH(n__nil)
LENGTH(n__cons(X, Y)) → LENGTH1(activate(Y))
LENGTH1(n__from(x0)) → LENGTH(from(activate(x0)))
LENGTH1(n__s(x0)) → LENGTH(s(activate(x0)))
LENGTH1(n__cons(x0, x1)) → LENGTH(cons(activate(x0), x1))
LENGTH1(x0) → LENGTH(x0)
LENGTH1(n__nil) → LENGTH(n__nil)
from(X) → cons(X, n__from(n__s(X)))
length(n__nil) → 0
length(n__cons(X, Y)) → s(length1(activate(Y)))
length1(X) → length(activate(X))
from(X) → n__from(X)
s(X) → n__s(X)
nil → n__nil
cons(X1, X2) → n__cons(X1, X2)
activate(n__from(X)) → from(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(X) → X
LENGTH1(n__from(x0)) → LENGTH(from(activate(x0)))
LENGTH(n__cons(X, Y)) → LENGTH1(activate(Y))
LENGTH1(n__s(x0)) → LENGTH(s(activate(x0)))
LENGTH1(n__cons(x0, x1)) → LENGTH(cons(activate(x0), x1))
LENGTH1(x0) → LENGTH(x0)
from(X) → cons(X, n__from(n__s(X)))
length(n__nil) → 0
length(n__cons(X, Y)) → s(length1(activate(Y)))
length1(X) → length(activate(X))
from(X) → n__from(X)
s(X) → n__s(X)
nil → n__nil
cons(X1, X2) → n__cons(X1, X2)
activate(n__from(X)) → from(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LENGTH1(n__s(x0)) → LENGTH(s(activate(x0)))
POL( LENGTH1(x1) ) = 2x1 + 1
POL( LENGTH(x1) ) = x1 + 1
POL( cons(x1, x2) ) = 2x2
POL( from(x1) ) = max{0, -2}
POL( s(x1) ) = x1 + 2
POL( activate(x1) ) = x1
POL( n__from(x1) ) = max{0, -2}
POL( n__s(x1) ) = x1 + 2
POL( n__nil ) = 2
POL( nil ) = 2
POL( n__cons(x1, x2) ) = 2x2
activate(n__from(X)) → from(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(X) → X
from(X) → cons(X, n__from(n__s(X)))
from(X) → n__from(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
LENGTH1(n__from(x0)) → LENGTH(from(activate(x0)))
LENGTH(n__cons(X, Y)) → LENGTH1(activate(Y))
LENGTH1(n__cons(x0, x1)) → LENGTH(cons(activate(x0), x1))
LENGTH1(x0) → LENGTH(x0)
from(X) → cons(X, n__from(n__s(X)))
length(n__nil) → 0
length(n__cons(X, Y)) → s(length1(activate(Y)))
length1(X) → length(activate(X))
from(X) → n__from(X)
s(X) → n__s(X)
nil → n__nil
cons(X1, X2) → n__cons(X1, X2)
activate(n__from(X)) → from(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__nil) → nil
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(X) → X