YES
and(tt, X) → X
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
and: {1}
tt: empty set
plus: {1, 2}
0: empty set
s: {1}
↳ CSR
↳ Zantema-Transformation
and(tt, X) → X
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
and: {1}
tt: empty set
plus: {1, 2}
0: empty set
s: {1}
We applied the Zantema [34] to transform the context-sensitive TRS to an usual TRS.
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ RRRPoloQTRSProof
and(tt, X) → a(X)
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
a(x) → x
and(tt, X) → a(X)
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
a(x) → x
Used ordering:
and(tt, X) → a(X)
plus(N, 0) → N
plus(N, s(M)) → s(plus(N, M))
a(x) → x
POL(0) = 1
POL(a(x1)) = 1 + x1
POL(and(x1, x2)) = 2 + 2·x1 + 2·x2
POL(plus(x1, x2)) = 2 + x1 + 2·x2
POL(s(x1)) = 1 + x1
POL(tt) = 2
↳ CSR
↳ Zantema-Transformation
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RisEmptyProof