Certification Problem
Input (TPDB TRS_Standard/SK90/4.07)
The rewrite relation of the following TRS is considered.
*(i(x),x) |
→ |
1 |
(1) |
*(1,y) |
→ |
y |
(2) |
*(x,0) |
→ |
0 |
(3) |
*(*(x,y),z) |
→ |
*(x,*(y,z)) |
(4) |
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(0) |
= |
1 |
|
weight(0) |
= |
1 |
|
|
|
prec(1) |
= |
0 |
|
weight(1) |
= |
7 |
|
|
|
prec(*) |
= |
2 |
|
weight(*) |
= |
0 |
|
|
|
prec(i) |
= |
3 |
|
weight(i) |
= |
5 |
|
|
|
all of the following rules can be deleted.
*(i(x),x) |
→ |
1 |
(1) |
*(1,y) |
→ |
y |
(2) |
*(x,0) |
→ |
0 |
(3) |
*(*(x,y),z) |
→ |
*(x,*(y,z)) |
(4) |
1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.