Certification Problem
Input (TPDB TRS_Standard/SK90/4.09)
The rewrite relation of the following TRS is considered.
+(x,0) |
→ |
x |
(1) |
+(x,i(x)) |
→ |
0 |
(2) |
+(+(x,y),z) |
→ |
+(x,+(y,z)) |
(3) |
*(x,+(y,z)) |
→ |
+(*(x,y),*(x,z)) |
(4) |
*(+(x,y),z) |
→ |
+(*(x,z),*(y,z)) |
(5) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ termCOMP 2023)
1 Rule Removal
Using the
Weighted Path Order with the following precedence and status
prec(*) |
= |
1 |
|
status(*) |
= |
[1, 2] |
|
list-extension(*) |
= |
Lex |
prec(i) |
= |
0 |
|
status(i) |
= |
[1] |
|
list-extension(i) |
= |
Lex |
prec(+) |
= |
0 |
|
status(+) |
= |
[1, 2] |
|
list-extension(+) |
= |
Lex |
prec(0) |
= |
0 |
|
status(0) |
= |
[] |
|
list-extension(0) |
= |
Lex |
and the following
Max-polynomial interpretation
[*(x1, x2)] |
=
|
max(0, 0 + 1 · x1, 0 + 1 · x2) |
[i(x1)] |
=
|
max(0, 5 + 1 · x1) |
[+(x1, x2)] |
=
|
max(0, 0 + 1 · x1, 0 + 1 · x2) |
[0] |
=
|
max(3) |
all of the following rules can be deleted.
+(x,0) |
→ |
x |
(1) |
+(x,i(x)) |
→ |
0 |
(2) |
+(+(x,y),z) |
→ |
+(x,+(y,z)) |
(3) |
*(x,+(y,z)) |
→ |
+(*(x,y),*(x,z)) |
(4) |
*(+(x,y),z) |
→ |
+(*(x,z),*(y,z)) |
(5) |
1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.