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 AProVE @ termCOMP 2023)
1 Rule Removal
Using the
prec(+) |
= |
0 |
|
stat(+) |
= |
lex
|
prec(0) |
= |
0 |
|
stat(0) |
= |
lex
|
prec(*) |
= |
1 |
|
stat(*) |
= |
lex
|
π(+) |
= |
[1,2] |
π(0) |
= |
[] |
π(i) |
= |
1 |
π(*) |
= |
[2,1] |
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.