Certification Problem
Input (TPDB SRS_Standard/Trafo_06/dup15)
The rewrite relation of the following TRS is considered.
a(a(d(d(x1)))) |
→ |
d(d(b(b(x1)))) |
(1) |
a(a(x1)) |
→ |
b(b(b(b(b(b(x1)))))) |
(2) |
b(b(d(d(b(b(x1)))))) |
→ |
a(a(c(c(x1)))) |
(3) |
c(c(x1)) |
→ |
d(d(x1)) |
(4) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ termCOMP 2023)
1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[a(x1)] |
= |
1 · x1 + 17 |
[c(x1)] |
= |
4 · x1 + 0 |
[d(x1)] |
= |
4 · x1 + 0 |
[b(x1)] |
= |
1 · x1 + 1 |
all of the following rules can be deleted.
a(a(d(d(x1)))) |
→ |
d(d(b(b(x1)))) |
(1) |
a(a(x1)) |
→ |
b(b(b(b(b(b(x1)))))) |
(2) |
1.1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(c) |
= |
2 |
|
weight(c) |
= |
1 |
|
|
|
prec(b) |
= |
1 |
|
weight(b) |
= |
1 |
|
|
|
prec(a) |
= |
0 |
|
weight(a) |
= |
1 |
|
|
|
prec(d) |
= |
3 |
|
weight(d) |
= |
0 |
|
|
|
all of the following rules can be deleted.
b(b(d(d(b(b(x1)))))) |
→ |
a(a(c(c(x1)))) |
(3) |
c(c(x1)) |
→ |
d(d(x1)) |
(4) |
1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.