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