Certification Problem
Input (TPDB SRS_Standard/Zantema_06/05)
The rewrite relation of the following TRS is considered.
a(a(b(b(x1)))) |
→ |
b(b(b(a(a(a(x1)))))) |
(1) |
a(c(x1)) |
→ |
c(a(x1)) |
(2) |
b(c(x1)) |
→ |
c(b(x1)) |
(3) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ 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(a(a(b(b(b(x1)))))) |
(4) |
c(a(x1)) |
→ |
a(c(x1)) |
(5) |
c(b(x1)) |
→ |
b(c(x1)) |
(6) |
1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
b#(b(a(a(x1)))) |
→ |
b#(x1) |
(7) |
b#(b(a(a(x1)))) |
→ |
b#(b(x1)) |
(8) |
b#(b(a(a(x1)))) |
→ |
b#(b(b(x1))) |
(9) |
c#(a(x1)) |
→ |
c#(x1) |
(10) |
c#(b(x1)) |
→ |
c#(x1) |
(11) |
c#(b(x1)) |
→ |
b#(c(x1)) |
(12) |
1.1.1 Dependency Graph Processor
The dependency pairs are split into 2
components.
-
The
1st
component contains the
pair
c#(a(x1)) |
→ |
c#(x1) |
(10) |
c#(b(x1)) |
→ |
c#(x1) |
(11) |
1.1.1.1 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
c#(a(x1)) |
→ |
c#(x1) |
(10) |
|
1 |
> |
1 |
c#(b(x1)) |
→ |
c#(x1) |
(11) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
2nd
component contains the
pair
b#(b(a(a(x1)))) |
→ |
b#(x1) |
(7) |
b#(b(a(a(x1)))) |
→ |
b#(b(x1)) |
(8) |
b#(b(a(a(x1)))) |
→ |
b#(b(b(x1))) |
(9) |
1.1.1.2 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over (3 x 3)-matrices with strict dimension 1
over the naturals
[a(x1)] |
= |
· x1 +
|
[b#(x1)] |
= |
· x1 +
|
[b(x1)] |
= |
· x1 +
|
together with the usable
rule
b(b(a(a(x1)))) |
→ |
a(a(a(b(b(b(x1)))))) |
(4) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
b#(b(a(a(x1)))) |
→ |
b#(x1) |
(7) |
b#(b(a(a(x1)))) |
→ |
b#(b(x1)) |
(8) |
b#(b(a(a(x1)))) |
→ |
b#(b(b(x1))) |
(9) |
could be deleted.
1.1.1.2.1 P is empty
There are no pairs anymore.