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