Certification Problem
Input (TPDB TRS_Standard/SK90/2.53)
The rewrite relation of the following TRS is considered.
f(x,y) |
→ |
g(x,y) |
(1) |
g(h(x),y) |
→ |
h(f(x,y)) |
(2) |
g(h(x),y) |
→ |
h(g(x,y)) |
(3) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ termCOMP 2023)
1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(h) |
= |
0 |
|
weight(h) |
= |
2 |
|
|
|
prec(g) |
= |
2 |
|
weight(g) |
= |
0 |
|
|
|
prec(f) |
= |
3 |
|
weight(f) |
= |
0 |
|
|
|
all of the following rules can be deleted.
f(x,y) |
→ |
g(x,y) |
(1) |
g(h(x),y) |
→ |
h(f(x,y)) |
(2) |
g(h(x),y) |
→ |
h(g(x,y)) |
(3) |
1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.