Certification Problem
Input (TPDB SRS_Standard/Waldmann_19/random-152)
The rewrite relation of the following TRS is considered.
b(b(b(b(x1)))) |
→ |
b(b(a(a(x1)))) |
(1) |
b(b(a(a(x1)))) |
→ |
a(b(a(b(x1)))) |
(2) |
a(b(a(a(x1)))) |
→ |
a(b(a(b(x1)))) |
(3) |
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(b(b(x1)))) |
→ |
a(a(b(b(x1)))) |
(4) |
a(a(b(b(x1)))) |
→ |
b(a(b(a(x1)))) |
(5) |
a(a(b(a(x1)))) |
→ |
b(a(b(a(x1)))) |
(6) |
1.1 Closure Under Flat Contexts
Using the flat contexts
{b(☐), a(☐)}
We obtain the transformed TRS
b(b(b(b(b(x1))))) |
→ |
b(a(a(b(b(x1))))) |
(7) |
a(b(b(b(b(x1))))) |
→ |
a(a(a(b(b(x1))))) |
(8) |
b(a(a(b(b(x1))))) |
→ |
b(b(a(b(a(x1))))) |
(9) |
a(a(a(b(b(x1))))) |
→ |
a(b(a(b(a(x1))))) |
(10) |
b(a(a(b(a(x1))))) |
→ |
b(b(a(b(a(x1))))) |
(11) |
a(a(a(b(a(x1))))) |
→ |
a(b(a(b(a(x1))))) |
(12) |
1.1.1 Semantic Labeling
Root-labeling is applied.
We obtain the labeled TRS
bb(bb(bb(bb(bb(x1))))) |
→ |
ba(aa(ab(bb(bb(x1))))) |
(13) |
bb(bb(bb(bb(ba(x1))))) |
→ |
ba(aa(ab(bb(ba(x1))))) |
(14) |
ab(bb(bb(bb(bb(x1))))) |
→ |
aa(aa(ab(bb(bb(x1))))) |
(15) |
ab(bb(bb(bb(ba(x1))))) |
→ |
aa(aa(ab(bb(ba(x1))))) |
(16) |
ba(aa(ab(bb(bb(x1))))) |
→ |
bb(ba(ab(ba(ab(x1))))) |
(17) |
ba(aa(ab(bb(ba(x1))))) |
→ |
bb(ba(ab(ba(aa(x1))))) |
(18) |
aa(aa(ab(bb(bb(x1))))) |
→ |
ab(ba(ab(ba(ab(x1))))) |
(19) |
aa(aa(ab(bb(ba(x1))))) |
→ |
ab(ba(ab(ba(aa(x1))))) |
(20) |
ba(aa(ab(ba(ab(x1))))) |
→ |
bb(ba(ab(ba(ab(x1))))) |
(21) |
ba(aa(ab(ba(aa(x1))))) |
→ |
bb(ba(ab(ba(aa(x1))))) |
(22) |
aa(aa(ab(ba(ab(x1))))) |
→ |
ab(ba(ab(ba(ab(x1))))) |
(23) |
aa(aa(ab(ba(aa(x1))))) |
→ |
ab(ba(ab(ba(aa(x1))))) |
(24) |
1.1.1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[bb(x1)] |
= |
1 · x1 + 1 |
[ba(x1)] |
= |
1 · x1
|
[aa(x1)] |
= |
1 · x1 + 1 |
[ab(x1)] |
= |
1 · x1 + 1 |
all of the following rules can be deleted.
bb(bb(bb(bb(bb(x1))))) |
→ |
ba(aa(ab(bb(bb(x1))))) |
(13) |
bb(bb(bb(bb(ba(x1))))) |
→ |
ba(aa(ab(bb(ba(x1))))) |
(14) |
ba(aa(ab(bb(bb(x1))))) |
→ |
bb(ba(ab(ba(ab(x1))))) |
(17) |
aa(aa(ab(bb(bb(x1))))) |
→ |
ab(ba(ab(ba(ab(x1))))) |
(19) |
aa(aa(ab(bb(ba(x1))))) |
→ |
ab(ba(ab(ba(aa(x1))))) |
(20) |
aa(aa(ab(ba(ab(x1))))) |
→ |
ab(ba(ab(ba(ab(x1))))) |
(23) |
aa(aa(ab(ba(aa(x1))))) |
→ |
ab(ba(ab(ba(aa(x1))))) |
(24) |
1.1.1.1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
ab#(bb(bb(bb(bb(x1))))) |
→ |
ab#(bb(bb(x1))) |
(25) |
ab#(bb(bb(bb(ba(x1))))) |
→ |
ab#(bb(ba(x1))) |
(26) |
ba#(aa(ab(bb(ba(x1))))) |
→ |
ba#(ab(ba(aa(x1)))) |
(27) |
ba#(aa(ab(bb(ba(x1))))) |
→ |
ab#(ba(aa(x1))) |
(28) |
ba#(aa(ab(bb(ba(x1))))) |
→ |
ba#(aa(x1)) |
(29) |
ba#(aa(ab(ba(ab(x1))))) |
→ |
ba#(ab(ba(ab(x1)))) |
(30) |
ba#(aa(ab(ba(aa(x1))))) |
→ |
ba#(ab(ba(aa(x1)))) |
(31) |
1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 2
components.
-
The
1st
component contains the
pair
ba#(aa(ab(bb(ba(x1))))) |
→ |
ba#(aa(x1)) |
(29) |
1.1.1.1.1.1.1 Monotonic Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[aa(x1)] |
= |
1 · x1
|
[ab(x1)] |
= |
1 · x1
|
[bb(x1)] |
= |
1 · x1
|
[ba(x1)] |
= |
1 · x1
|
[ba#(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.1.1.1.1.1 Reduction Pair Processor
Using the linear polynomial interpretation over the naturals
[ba#(x1)] |
= |
1 · x1
|
[aa(x1)] |
= |
1 · x1
|
[ab(x1)] |
= |
1 · x1
|
[bb(x1)] |
= |
1 + 1 · x1
|
[ba(x1)] |
= |
1 + 1 · x1
|
the
pair
ba#(aa(ab(bb(ba(x1))))) |
→ |
ba#(aa(x1)) |
(29) |
could be deleted.
1.1.1.1.1.1.1.1.1 P is empty
There are no pairs anymore.
-
The
2nd
component contains the
pair
ab#(bb(bb(bb(ba(x1))))) |
→ |
ab#(bb(ba(x1))) |
(26) |
ab#(bb(bb(bb(bb(x1))))) |
→ |
ab#(bb(bb(x1))) |
(25) |
1.1.1.1.1.1.2 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
ab#(bb(bb(bb(ba(x1))))) |
→ |
ab#(bb(ba(x1))) |
(26) |
|
1 |
> |
1 |
ab#(bb(bb(bb(bb(x1))))) |
→ |
ab#(bb(bb(x1))) |
(25) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.