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