YES
0 QTRS
↳1 QTRSRRRProof (⇔, 0 ms)
↳2 QTRS
↳3 QTRSRRRProof (⇔, 8 ms)
↳4 QTRS
↳5 QTRSRRRProof (⇔, 0 ms)
↳6 QTRS
↳7 RisEmptyProof (⇔, 0 ms)
↳8 YES
f(0) → s(0)
f(s(0)) → s(s(0))
f(s(0)) → *(s(s(0)), f(0))
f(+(x, s(0))) → +(s(s(0)), f(x))
f(+(x, y)) → *(f(x), f(y))
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(*(x1, x2)) = x1 + x2
POL(+(x1, x2)) = 2 + 2·x1 + 2·x2
POL(0) = 0
POL(f(x1)) = 1 + 2·x1
POL(s(x1)) = 1 + x1
f(s(0)) → s(s(0))
f(+(x, s(0))) → +(s(s(0)), f(x))
f(+(x, y)) → *(f(x), f(y))
f(0) → s(0)
f(s(0)) → *(s(s(0)), f(0))
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(*(x1, x2)) = x1 + x2
POL(0) = 0
POL(f(x1)) = 1 + 2·x1
POL(s(x1)) = x1
f(0) → s(0)
f(s(0)) → *(s(s(0)), f(0))
[f1, 0] > [s1, *2]
f1: multiset
s1: multiset
0: multiset
*2: [1,2]
f(s(0)) → *(s(s(0)), f(0))