Certification Problem
Input (TPDB SRS_Relative/Waldmann_19/random-159)
The relative rewrite relation R/S is considered where R is the following TRS
c(a(b(x1))) |
→ |
c(b(b(x1))) |
(1) |
b(c(c(x1))) |
→ |
c(c(c(x1))) |
(2) |
a(a(a(x1))) |
→ |
c(c(b(x1))) |
(3) |
and S is the following TRS.
c(a(c(x1))) |
→ |
a(a(b(x1))) |
(4) |
b(c(b(x1))) |
→ |
b(b(b(x1))) |
(5) |
c(b(b(x1))) |
→ |
c(c(c(x1))) |
(6) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by AProVE @ termCOMP 2023)
1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
b(a(c(x1))) |
→ |
b(b(c(x1))) |
(7) |
c(c(b(x1))) |
→ |
c(c(c(x1))) |
(8) |
a(a(a(x1))) |
→ |
b(c(c(x1))) |
(9) |
c(a(c(x1))) |
→ |
b(a(a(x1))) |
(10) |
b(c(b(x1))) |
→ |
b(b(b(x1))) |
(5) |
b(b(c(x1))) |
→ |
c(c(c(x1))) |
(11) |
1.1 Rule Removal
Using the
matrix interpretations of dimension 6 with strict dimension 1 over the integers
[b(x1)] |
= |
+
|
1 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
· x1
|
[a(x1)] |
= |
+
|
1 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
· x1
|
[c(x1)] |
= |
+
|
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
|
|
· x1
|
all of the following rules can be deleted.
a(a(a(x1))) |
→ |
b(c(c(x1))) |
(9) |
1.1.1 Rule Removal
Using the
matrix interpretations of dimension 2 with strict dimension 1 over the integers
[b(x1)] |
= |
+ · x1
|
[a(x1)] |
= |
+ · x1
|
[c(x1)] |
= |
+ · x1
|
all of the following rules can be deleted.
b(a(c(x1))) |
→ |
b(b(c(x1))) |
(7) |
1.1.1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[c(x1)] |
= |
1 + 1 · x1
|
[b(x1)] |
= |
1 + 1 · x1
|
[a(x1)] |
= |
1 · x1
|
all of the following rules can be deleted.
c(a(c(x1))) |
→ |
b(a(a(x1))) |
(10) |
1.1.1.1.1 Rule Removal
Using the
matrix interpretations of dimension 2 with strict dimension 1 over the integers
[c(x1)] |
= |
+ · x1
|
[b(x1)] |
= |
+ · x1
|
all of the following rules can be deleted.
b(c(b(x1))) |
→ |
b(b(b(x1))) |
(5) |
b(b(c(x1))) |
→ |
c(c(c(x1))) |
(11) |
1.1.1.1.1.1 Bounds
The given TRS is
match-(raise)-bounded by 1.
This is shown by the following automaton.
-
final states:
{0, 1}
-
transitions:
c0(0) |
→ |
0 |
c0(1) |
→ |
0 |
b0(0) |
→ |
1 |
b0(1) |
→ |
1 |
c1(0) |
→ |
3 |
c1(3) |
→ |
2 |
c1(2) |
→ |
0 |
c1(1) |
→ |
3 |
2 |
→ |
0 |
2 |
→ |
3 |