from(X) → cons(X, from(s(X)))
first(0, Z) → nil
first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
sel(0, cons(X, Z)) → X
sel(s(X), cons(Y, Z)) → sel(X, Z)
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
↳ QTRS
↳ DependencyPairsProof
from(X) → cons(X, from(s(X)))
first(0, Z) → nil
first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
sel(0, cons(X, Z)) → X
sel(s(X), cons(Y, Z)) → sel(X, Z)
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
FIRST(s(X), cons(Y, Z)) → FIRST(X, Z)
SEL(s(X), cons(Y, Z)) → SEL(X, Z)
FROM(X) → FROM(s(X))
from(X) → cons(X, from(s(X)))
first(0, Z) → nil
first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
sel(0, cons(X, Z)) → X
sel(s(X), cons(Y, Z)) → sel(X, Z)
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
FIRST(s(X), cons(Y, Z)) → FIRST(X, Z)
SEL(s(X), cons(Y, Z)) → SEL(X, Z)
FROM(X) → FROM(s(X))
from(X) → cons(X, from(s(X)))
first(0, Z) → nil
first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
sel(0, cons(X, Z)) → X
sel(s(X), cons(Y, Z)) → sel(X, Z)
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
SEL(s(X), cons(Y, Z)) → SEL(X, Z)
from(X) → cons(X, from(s(X)))
first(0, Z) → nil
first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
sel(0, cons(X, Z)) → X
sel(s(X), cons(Y, Z)) → sel(X, Z)
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
SEL(s(X), cons(Y, Z)) → SEL(X, Z)
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
SEL(s(X), cons(Y, Z)) → SEL(X, Z)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
FIRST(s(X), cons(Y, Z)) → FIRST(X, Z)
from(X) → cons(X, from(s(X)))
first(0, Z) → nil
first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
sel(0, cons(X, Z)) → X
sel(s(X), cons(Y, Z)) → sel(X, Z)
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
FIRST(s(X), cons(Y, Z)) → FIRST(X, Z)
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
FIRST(s(X), cons(Y, Z)) → FIRST(X, Z)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
FROM(X) → FROM(s(X))
from(X) → cons(X, from(s(X)))
first(0, Z) → nil
first(s(X), cons(Y, Z)) → cons(Y, first(X, Z))
sel(0, cons(X, Z)) → X
sel(s(X), cons(Y, Z)) → sel(X, Z)
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
FROM(X) → FROM(s(X))
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
first(s(x0), cons(x1, x2))
from(x0)
sel(0, cons(x0, x1))
first(0, x0)
sel(s(x0), cons(x1, x2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
FROM(X) → FROM(s(X))
FROM(s(z0)) → FROM(s(s(z0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
FROM(s(z0)) → FROM(s(s(z0)))
FROM(s(s(z0))) → FROM(s(s(s(z0))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
FROM(s(s(z0))) → FROM(s(s(s(z0))))
FROM(s(s(z0))) → FROM(s(s(s(z0))))