Certification Problem
Input (TPDB TRS_Standard/Various_04/09)
The rewrite relation of the following TRS is considered.
f(x,y,w,w,a) |
→ |
g1(x,x,y,w) |
(1) |
f(x,y,w,a,a) |
→ |
g1(y,x,x,w) |
(2) |
f(x,y,a,a,w) |
→ |
g2(x,y,y,w) |
(3) |
f(x,y,a,w,w) |
→ |
g2(y,y,x,w) |
(4) |
g1(x,x,y,a) |
→ |
h(x,y) |
(5) |
g1(y,x,x,a) |
→ |
h(x,y) |
(6) |
g2(x,y,y,a) |
→ |
h(x,y) |
(7) |
g2(y,y,x,a) |
→ |
h(x,y) |
(8) |
h(x,x) |
→ |
x |
(9) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ termCOMP 2023)
1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[h(x1, x2)] |
= |
1 · x1 + 8 · x2 + 0 |
[f(x1,...,x5)] |
= |
9 · x1 + 14 · x2 + 9 · x3 + 16 · x4 + 4 · x5 + 2 |
[g2(x1,...,x4)] |
= |
9 · x1 + 4 · x2 + 8 · x3 + 1 · x4 + 24 |
[a] |
= |
4 |
[g1(x1,...,x4)] |
= |
8 · x1 + 1 · x2 + 8 · x3 + 8 · x4 + 0 |
all of the following rules can be deleted.
f(x,y,w,w,a) |
→ |
g1(x,x,y,w) |
(1) |
f(x,y,w,a,a) |
→ |
g1(y,x,x,w) |
(2) |
f(x,y,a,a,w) |
→ |
g2(x,y,y,w) |
(3) |
f(x,y,a,w,w) |
→ |
g2(y,y,x,w) |
(4) |
g1(x,x,y,a) |
→ |
h(x,y) |
(5) |
g1(y,x,x,a) |
→ |
h(x,y) |
(6) |
g2(x,y,y,a) |
→ |
h(x,y) |
(7) |
g2(y,y,x,a) |
→ |
h(x,y) |
(8) |
1.1 Rule Removal
Using the
Weighted Path Order with the following precedence and status
prec(h) |
= |
0 |
|
status(h) |
= |
[2, 1] |
|
list-extension(h) |
= |
Lex |
and the following
Max-polynomial interpretation
[h(x1, x2)] |
=
|
max(0, 0 + 1 · x1, 0 + 1 · x2) |
all of the following rules can be deleted.
1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.