Certification Problem
Input (TPDB SRS_Standard/Mixed_SRS/08)
The rewrite relation of the following TRS is considered.
a(a(b(b(x1)))) |
→ |
b(b(b(a(x1)))) |
(1) |
b(a(x1)) |
→ |
a(a(a(a(x1)))) |
(2) |
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(b(a(a(x1)))) |
→ |
a(b(b(b(x1)))) |
(3) |
a(b(x1)) |
→ |
a(a(a(a(x1)))) |
(4) |
1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
b#(b(a(a(x1)))) |
→ |
a#(b(b(b(x1)))) |
(5) |
b#(b(a(a(x1)))) |
→ |
b#(b(b(x1))) |
(6) |
b#(b(a(a(x1)))) |
→ |
b#(b(x1)) |
(7) |
b#(b(a(a(x1)))) |
→ |
b#(x1) |
(8) |
a#(b(x1)) |
→ |
a#(a(a(a(x1)))) |
(9) |
a#(b(x1)) |
→ |
a#(a(a(x1))) |
(10) |
a#(b(x1)) |
→ |
a#(a(x1)) |
(11) |
a#(b(x1)) |
→ |
a#(x1) |
(12) |
1.1.1 Dependency Graph Processor
The dependency pairs are split into 2
components.
-
The
1st
component contains the
pair
b#(b(a(a(x1)))) |
→ |
b#(b(x1)) |
(7) |
b#(b(a(a(x1)))) |
→ |
b#(b(b(x1))) |
(6) |
b#(b(a(a(x1)))) |
→ |
b#(x1) |
(8) |
1.1.1.1 Reduction Pair Processor
Using the matrix interpretations of dimension 3 with strict dimension 1 over the arctic semiring over the integers
[b#(x1)] |
= |
+
|
-∞ |
-1 |
-1 |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
|
|
· x1
|
[b(x1)] |
= |
+ · x1
|
[a(x1)] |
= |
+ · x1
|
the
pairs
b#(b(a(a(x1)))) |
→ |
b#(b(b(x1))) |
(6) |
b#(b(a(a(x1)))) |
→ |
b#(x1) |
(8) |
could be deleted.
1.1.1.1.1 Semantic Labeling Processor
The following interpretations form a
model
of the rules.
As carrier we take the set
{0,1}.
Symbols are labeled by the interpretation of their arguments using the interpretations
(modulo 2):
[a(x1)] |
= |
0 |
[b(x1)] |
= |
1 + 1x1
|
[b#(x1)] |
= |
0 |
We obtain the set of labeled pairs
b#1(b0(a0(a0(x1)))) |
→ |
b#1(b0(x1)) |
(13) |
b#1(b0(a0(a1(x1)))) |
→ |
b#0(b1(x1)) |
(14) |
and the set of labeled rules:
b1(b0(a0(a0(x1)))) |
→ |
a1(b0(b1(b0(x1)))) |
(15) |
b1(b0(a0(a1(x1)))) |
→ |
a0(b1(b0(b1(x1)))) |
(16) |
a1(b0(x1)) |
→ |
a0(a0(a0(a0(x1)))) |
(17) |
a0(b1(x1)) |
→ |
a0(a0(a0(a1(x1)))) |
(18) |
1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 1
component.
-
The
2nd
component contains the
pair
1.1.1.2 Monotonic Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[b(x1)] |
= |
1 · x1
|
[a#(x1)] |
= |
1 · x1
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
rule
could be deleted.
1.1.1.2.1 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
a#(b(x1)) |
→ |
a#(x1) |
(12) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.