Certification Problem
Input (TPDB SRS_Standard/Waldmann_19/random-234)
The rewrite relation of the following TRS is considered.
a(b(b(a(x1)))) |
→ |
b(b(a(a(x1)))) |
(1) |
b(b(b(a(x1)))) |
→ |
a(a(a(a(x1)))) |
(2) |
a(b(a(a(x1)))) |
→ |
b(a(b(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
a(b(b(a(x1)))) |
→ |
a(a(b(b(x1)))) |
(4) |
a(b(b(b(x1)))) |
→ |
a(a(a(a(x1)))) |
(5) |
a(a(b(a(x1)))) |
→ |
b(b(a(b(x1)))) |
(6) |
1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
a#(b(b(a(x1)))) |
→ |
a#(b(b(x1))) |
(7) |
a#(b(b(a(x1)))) |
→ |
a#(a(b(b(x1)))) |
(8) |
a#(b(b(b(x1)))) |
→ |
a#(x1) |
(9) |
a#(b(b(b(x1)))) |
→ |
a#(a(x1)) |
(10) |
a#(b(b(b(x1)))) |
→ |
a#(a(a(x1))) |
(11) |
a#(b(b(b(x1)))) |
→ |
a#(a(a(a(x1)))) |
(12) |
a#(a(b(a(x1)))) |
→ |
a#(b(x1)) |
(13) |
1.1.1 Subterm Criterion Processor
We use the projection to multisets
π(a#)
|
= |
{
1
}
|
π(b)
|
= |
{
1, 1
}
|
π(a)
|
= |
{
1, 1
}
|
to remove the pairs:
a#(b(b(a(x1)))) |
→ |
a#(b(b(x1))) |
(7) |
a#(b(b(b(x1)))) |
→ |
a#(x1) |
(9) |
a#(b(b(b(x1)))) |
→ |
a#(a(x1)) |
(10) |
a#(b(b(b(x1)))) |
→ |
a#(a(a(x1))) |
(11) |
a#(a(b(a(x1)))) |
→ |
a#(b(x1)) |
(13) |
1.1.1.1 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over (4 x 4)-matrices with strict dimension 1
over the naturals
[b(x1)] |
= |
|
0 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
· x1 +
|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
|
[a(x1)] |
= |
|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
|
|
· x1 +
|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
|
[a#(x1)] |
= |
|
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
· x1 +
|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
|
together with the usable
rules
a(b(b(a(x1)))) |
→ |
a(a(b(b(x1)))) |
(4) |
a(b(b(b(x1)))) |
→ |
a(a(a(a(x1)))) |
(5) |
a(a(b(a(x1)))) |
→ |
b(b(a(b(x1)))) |
(6) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
a#(b(b(a(x1)))) |
→ |
a#(a(b(b(x1)))) |
(8) |
could be deleted.
1.1.1.1.1 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over (4 x 4)-matrices with strict dimension 1
over the naturals
[b(x1)] |
= |
|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
0 |
|
|
· x1 +
|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
|
[a(x1)] |
= |
|
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
· x1 +
|
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
|
[a#(x1)] |
= |
|
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
· x1 +
|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
|
|
|
together with the usable
rules
a(b(b(a(x1)))) |
→ |
a(a(b(b(x1)))) |
(4) |
a(b(b(b(x1)))) |
→ |
a(a(a(a(x1)))) |
(5) |
a(a(b(a(x1)))) |
→ |
b(b(a(b(x1)))) |
(6) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
a#(b(b(b(x1)))) |
→ |
a#(a(a(a(x1)))) |
(12) |
could be deleted.
1.1.1.1.1.1 P is empty
There are no pairs anymore.