YES
U11(tt, M, N) → U12(tt, M, N)
U12(tt, M, N) → s(plus(N, M))
U21(tt, M, N) → U22(tt, M, N)
U22(tt, M, N) → plus(x(N, M), N)
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
U11: {1}
tt: empty set
U12: {1}
s: {1}
plus: {1, 2}
U21: {1}
U22: {1}
x: {1, 2}
0: empty set
↳ CSR
↳ Zantema-Transformation
U11(tt, M, N) → U12(tt, M, N)
U12(tt, M, N) → s(plus(N, M))
U21(tt, M, N) → U22(tt, M, N)
U22(tt, M, N) → plus(x(N, M), N)
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
U11: {1}
tt: empty set
U12: {1}
s: {1}
plus: {1, 2}
U21: {1}
U22: {1}
x: {1, 2}
0: empty set
We applied the Zantema [34] to transform the context-sensitive TRS to an usual TRS.
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
U11(tt, M, N) → U12(tt, a(M), a(N))
U12(tt, M, N) → s(plus(a(N), a(M)))
U21(tt, M, N) → U22(tt, a(M), a(N))
U22(tt, M, N) → plus(x(a(N), a(M)), a(N))
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
a(x) → x
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
U11(tt, M, N) → U12(tt, a(M), a(N))
U12(tt, M, N) → s(plus(a(N), a(M)))
U21(tt, M, N) → U22(tt, a(M), a(N))
U22(tt, M, N) → plus(x(a(N), a(M)), a(N))
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
a(x) → x
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
U111(tt, M, N) → U121(tt, a(M), a(N))
X(N, s(M)) → U211(tt, M, N)
U211(tt, M, N) → U221(tt, a(M), a(N))
U121(tt, M, N) → A(M)
U111(tt, M, N) → A(M)
U221(tt, M, N) → A(M)
PLUS(N, s(M)) → U111(tt, M, N)
U221(tt, M, N) → X(a(N), a(M))
U111(tt, M, N) → A(N)
U221(tt, M, N) → A(N)
U121(tt, M, N) → PLUS(a(N), a(M))
U211(tt, M, N) → A(N)
U221(tt, M, N) → PLUS(x(a(N), a(M)), a(N))
U211(tt, M, N) → A(M)
U121(tt, M, N) → A(N)
U11(tt, M, N) → U12(tt, a(M), a(N))
U12(tt, M, N) → s(plus(a(N), a(M)))
U21(tt, M, N) → U22(tt, a(M), a(N))
U22(tt, M, N) → plus(x(a(N), a(M)), a(N))
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
a(x) → x
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
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
U111(tt, M, N) → U121(tt, a(M), a(N))
X(N, s(M)) → U211(tt, M, N)
U211(tt, M, N) → U221(tt, a(M), a(N))
U121(tt, M, N) → A(M)
U111(tt, M, N) → A(M)
U221(tt, M, N) → A(M)
PLUS(N, s(M)) → U111(tt, M, N)
U221(tt, M, N) → X(a(N), a(M))
U111(tt, M, N) → A(N)
U221(tt, M, N) → A(N)
U121(tt, M, N) → PLUS(a(N), a(M))
U211(tt, M, N) → A(N)
U221(tt, M, N) → PLUS(x(a(N), a(M)), a(N))
U211(tt, M, N) → A(M)
U121(tt, M, N) → A(N)
U11(tt, M, N) → U12(tt, a(M), a(N))
U12(tt, M, N) → s(plus(a(N), a(M)))
U21(tt, M, N) → U22(tt, a(M), a(N))
U22(tt, M, N) → plus(x(a(N), a(M)), a(N))
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
a(x) → x
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
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
U111(tt, M, N) → U121(tt, a(M), a(N))
PLUS(N, s(M)) → U111(tt, M, N)
U121(tt, M, N) → PLUS(a(N), a(M))
U11(tt, M, N) → U12(tt, a(M), a(N))
U12(tt, M, N) → s(plus(a(N), a(M)))
U21(tt, M, N) → U22(tt, a(M), a(N))
U22(tt, M, N) → plus(x(a(N), a(M)), a(N))
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
a(x) → x
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
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
U111(tt, M, N) → U121(tt, a(M), a(N))
PLUS(N, s(M)) → U111(tt, M, N)
U121(tt, M, N) → PLUS(a(N), a(M))
a(x) → x
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
PLUS(N, s(M)) → U111(tt, M, N)
U111(tt, M, N) → U121(tt, a(M), a(N))
U121(tt, M, N) → PLUS(a(N), a(M))
a(x) → x
a(x0)
No rules are removed from R.
PLUS(N, s(M)) → U111(tt, M, N)
U121(tt, M, N) → PLUS(a(N), a(M))
POL(PLUS(x1, x2)) = 2·x1 + 2·x2
POL(U111(x1, x2, x3)) = 2 + x1 + 2·x2 + 2·x3
POL(U121(x1, x2, x3)) = 1 + 2·x1 + 2·x2 + 2·x3
POL(a(x1)) = x1
POL(s(x1)) = 2 + x1
POL(tt) = 1
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
U111(tt, M, N) → U121(tt, a(M), a(N))
a(x) → x
a(x0)
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
U221(tt, M, N) → X(a(N), a(M))
U211(tt, M, N) → U221(tt, a(M), a(N))
X(N, s(M)) → U211(tt, M, N)
U11(tt, M, N) → U12(tt, a(M), a(N))
U12(tt, M, N) → s(plus(a(N), a(M)))
U21(tt, M, N) → U22(tt, a(M), a(N))
U22(tt, M, N) → plus(x(a(N), a(M)), a(N))
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
a(x) → x
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
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
U221(tt, M, N) → X(a(N), a(M))
U211(tt, M, N) → U221(tt, a(M), a(N))
X(N, s(M)) → U211(tt, M, N)
a(x) → x
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
a(x0)
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
U221(tt, M, N) → X(a(N), a(M))
X(N, s(M)) → U211(tt, M, N)
U211(tt, M, N) → U221(tt, a(M), a(N))
a(x) → x
a(x0)
No rules are removed from R.
X(N, s(M)) → U211(tt, M, N)
U211(tt, M, N) → U221(tt, a(M), a(N))
POL(U211(x1, x2, x3)) = 1 + 2·x1 + x2 + x3
POL(U221(x1, x2, x3)) = x1 + x2 + x3
POL(X(x1, x2)) = x1 + x2
POL(a(x1)) = x1
POL(s(x1)) = 2 + 2·x1
POL(tt) = 0
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ UsableRulesReductionPairsProof
↳ QDP
↳ DependencyGraphProof
U221(tt, M, N) → X(a(N), a(M))
a(x) → x
a(x0)