YES
and(tt, X) → X
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
x(N, 0) → 0
x(N, s(M)) → plus(x(N, M), N)
and: {1}
tt: empty set
plus: {1, 2}
0: empty set
s: {1}
x: {1, 2}
↳ CSR
↳ Zantema-Transformation
and(tt, X) → X
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
x(N, 0) → 0
x(N, s(M)) → plus(x(N, M), N)
and: {1}
tt: empty set
plus: {1, 2}
0: empty set
s: {1}
x: {1, 2}
We applied the Zantema [34] to transform the context-sensitive TRS to an usual TRS.
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
and(tt, X) → a(X)
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
x(N, 0) → 0
x(N, s(M)) → plus(x(N, M), N)
a(x) → x
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
and(tt, X) → a(X)
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
x(N, 0) → 0
x(N, s(M)) → plus(x(N, M), N)
a(x) → x
and(tt, x0)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
X(N, s(M)) → X(N, M)
X(N, s(M)) → PLUS(x(N, M), N)
PLUS(N, s(M)) → PLUS(N, M)
AND(tt, X) → A(X)
and(tt, X) → a(X)
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
x(N, 0) → 0
x(N, s(M)) → plus(x(N, M), N)
a(x) → x
and(tt, x0)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
X(N, s(M)) → X(N, M)
X(N, s(M)) → PLUS(x(N, M), N)
PLUS(N, s(M)) → PLUS(N, M)
AND(tt, X) → A(X)
and(tt, X) → a(X)
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
x(N, 0) → 0
x(N, s(M)) → plus(x(N, M), N)
a(x) → x
and(tt, x0)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
PLUS(N, s(M)) → PLUS(N, M)
and(tt, X) → a(X)
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
x(N, 0) → 0
x(N, s(M)) → plus(x(N, M), N)
a(x) → x
and(tt, x0)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
PLUS(N, s(M)) → PLUS(N, M)
and(tt, x0)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
and(tt, x0)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
PLUS(N, s(M)) → PLUS(N, M)
From the DPs we obtained the following set of size-change graphs:
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
X(N, s(M)) → X(N, M)
and(tt, X) → a(X)
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
x(N, 0) → 0
x(N, s(M)) → plus(x(N, M), N)
a(x) → x
and(tt, x0)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
X(N, s(M)) → X(N, M)
and(tt, x0)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
and(tt, x0)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
X(N, s(M)) → X(N, M)
From the DPs we obtained the following set of size-change graphs: