Certification Problem
Input (TPDB SRS_Standard/Zantema_04/z108)
The rewrite relation of the following TRS is considered.
a(a(x1)) |
→ |
b(c(x1)) |
(1) |
b(b(x1)) |
→ |
c(d(x1)) |
(2) |
c(c(x1)) |
→ |
d(d(d(x1))) |
(3) |
d(d(d(x1))) |
→ |
a(c(x1)) |
(4) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by AProVE @ termCOMP 2023)
1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[a(x1)] |
= |
1 · x1 + 30 |
[b(x1)] |
= |
1 · x1 + 27 |
[c(x1)] |
= |
1 · x1 + 32 |
[d(x1)] |
= |
1 · x1 + 21 |
all of the following rules can be deleted.
a(a(x1)) |
→ |
b(c(x1)) |
(1) |
b(b(x1)) |
→ |
c(d(x1)) |
(2) |
c(c(x1)) |
→ |
d(d(d(x1))) |
(3) |
d(d(d(x1))) |
→ |
a(c(x1)) |
(4) |
1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.