YES
from(X) → cons(X, from(s(X)))
sel(0, cons(X, Y)) → X
sel(s(X), cons(Y, Z)) → sel(X, Z)
from: {1}
cons: {1}
s: {1}
sel: {1, 2}
0: empty set
↳ CSR
↳ Zantema-Transformation
from(X) → cons(X, from(s(X)))
sel(0, cons(X, Y)) → X
sel(s(X), cons(Y, Z)) → sel(X, Z)
from: {1}
cons: {1}
s: {1}
sel: {1, 2}
0: empty set
We applied the Zantema [34] to transform the context-sensitive TRS to an usual TRS.
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
from(X) → cons(X, fromInact(s(X)))
sel(0, cons(X, Y)) → X
sel(s(X), cons(Y, Z)) → sel(X, a(Z))
a(x) → x
from(x1) → fromInact(x1)
a(fromInact(x1)) → from(x1)
A(fromInact(x1)) → FROM(x1)
SEL(s(X), cons(Y, Z)) → A(Z)
SEL(s(X), cons(Y, Z)) → SEL(X, a(Z))
from(X) → cons(X, fromInact(s(X)))
sel(0, cons(X, Y)) → X
sel(s(X), cons(Y, Z)) → sel(X, a(Z))
a(x) → x
from(x1) → fromInact(x1)
a(fromInact(x1)) → from(x1)
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
A(fromInact(x1)) → FROM(x1)
SEL(s(X), cons(Y, Z)) → A(Z)
SEL(s(X), cons(Y, Z)) → SEL(X, a(Z))
from(X) → cons(X, fromInact(s(X)))
sel(0, cons(X, Y)) → X
sel(s(X), cons(Y, Z)) → sel(X, a(Z))
a(x) → x
from(x1) → fromInact(x1)
a(fromInact(x1)) → from(x1)
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPSizeChangeProof
SEL(s(X), cons(Y, Z)) → SEL(X, a(Z))
from(X) → cons(X, fromInact(s(X)))
sel(0, cons(X, Y)) → X
sel(s(X), cons(Y, Z)) → sel(X, a(Z))
a(x) → x
from(x1) → fromInact(x1)
a(fromInact(x1)) → from(x1)
From the DPs we obtained the following set of size-change graphs: