Certification Problem
Input (TPDB SRS_Standard/Waldmann_19/random-486)
The rewrite relation of the following TRS is considered.
b(a(a(a(x1)))) |
→ |
a(a(b(a(x1)))) |
(1) |
b(a(b(b(x1)))) |
→ |
b(a(a(a(x1)))) |
(2) |
a(a(b(b(x1)))) |
→ |
a(b(b(a(x1)))) |
(3) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by matchbox @ termCOMP 2023)
1 Rule Removal
Using the
matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[b(x1)] |
= |
x1 +
|
[a(x1)] |
= |
x1 +
|
all of the following rules can be deleted.
b(a(b(b(x1)))) |
→ |
b(a(a(a(x1)))) |
(2) |
1.1 Closure Under Flat Contexts
Using the flat contexts
{b(☐), a(☐)}
We obtain the transformed TRS
b(b(a(a(a(x1))))) |
→ |
b(a(a(b(a(x1))))) |
(4) |
b(a(a(b(b(x1))))) |
→ |
b(a(b(b(a(x1))))) |
(5) |
a(b(a(a(a(x1))))) |
→ |
a(a(a(b(a(x1))))) |
(6) |
a(a(a(b(b(x1))))) |
→ |
a(a(b(b(a(x1))))) |
(7) |
1.1.1 Semantic Labeling
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):
[b(x1)] |
= |
2x1 + 0 |
[a(x1)] |
= |
2x1 + 1 |
We obtain the labeled TRS
b0(b1(a1(a1(a0(x1))))) |
→ |
b1(a1(a0(b1(a0(x1))))) |
(8) |
b0(b1(a1(a1(a1(x1))))) |
→ |
b1(a1(a0(b1(a1(x1))))) |
(9) |
a0(b1(a1(a1(a0(x1))))) |
→ |
a1(a1(a0(b1(a0(x1))))) |
(10) |
a0(b1(a1(a1(a1(x1))))) |
→ |
a1(a1(a0(b1(a1(x1))))) |
(11) |
b1(a1(a0(b0(b0(x1))))) |
→ |
b1(a0(b0(b1(a0(x1))))) |
(12) |
b1(a1(a0(b0(b1(x1))))) |
→ |
b1(a0(b0(b1(a1(x1))))) |
(13) |
a1(a1(a0(b0(b0(x1))))) |
→ |
a1(a0(b0(b1(a0(x1))))) |
(14) |
a1(a1(a0(b0(b1(x1))))) |
→ |
a1(a0(b0(b1(a1(x1))))) |
(15) |
1.1.1.1 Rule Removal
Using the
matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[b0(x1)] |
= |
x1 +
|
[b1(x1)] |
= |
x1 +
|
[a0(x1)] |
= |
x1 +
|
[a1(x1)] |
= |
x1 +
|
all of the following rules can be deleted.
b0(b1(a1(a1(a0(x1))))) |
→ |
b1(a1(a0(b1(a0(x1))))) |
(8) |
b0(b1(a1(a1(a1(x1))))) |
→ |
b1(a1(a0(b1(a1(x1))))) |
(9) |
b1(a1(a0(b0(b0(x1))))) |
→ |
b1(a0(b0(b1(a0(x1))))) |
(12) |
a1(a1(a0(b0(b0(x1))))) |
→ |
a1(a0(b0(b1(a0(x1))))) |
(14) |
1.1.1.1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
b1#(a1(a0(b0(b1(x1))))) |
→ |
b1#(a0(b0(b1(a1(x1))))) |
(16) |
b1#(a1(a0(b0(b1(x1))))) |
→ |
b1#(a1(x1)) |
(17) |
b1#(a1(a0(b0(b1(x1))))) |
→ |
a0#(b0(b1(a1(x1)))) |
(18) |
b1#(a1(a0(b0(b1(x1))))) |
→ |
a1#(x1) |
(19) |
a0#(b1(a1(a1(a0(x1))))) |
→ |
b1#(a0(x1)) |
(20) |
a0#(b1(a1(a1(a0(x1))))) |
→ |
a0#(b1(a0(x1))) |
(21) |
a0#(b1(a1(a1(a0(x1))))) |
→ |
a1#(a0(b1(a0(x1)))) |
(22) |
a0#(b1(a1(a1(a0(x1))))) |
→ |
a1#(a1(a0(b1(a0(x1))))) |
(23) |
a0#(b1(a1(a1(a1(x1))))) |
→ |
b1#(a1(x1)) |
(24) |
a0#(b1(a1(a1(a1(x1))))) |
→ |
a0#(b1(a1(x1))) |
(25) |
a0#(b1(a1(a1(a1(x1))))) |
→ |
a1#(a0(b1(a1(x1)))) |
(26) |
a0#(b1(a1(a1(a1(x1))))) |
→ |
a1#(a1(a0(b1(a1(x1))))) |
(27) |
a1#(a1(a0(b0(b1(x1))))) |
→ |
b1#(a1(x1)) |
(28) |
a1#(a1(a0(b0(b1(x1))))) |
→ |
a0#(b0(b1(a1(x1)))) |
(29) |
a1#(a1(a0(b0(b1(x1))))) |
→ |
a1#(x1) |
(30) |
a1#(a1(a0(b0(b1(x1))))) |
→ |
a1#(a0(b0(b1(a1(x1))))) |
(31) |
1.1.1.1.1.1 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[b0(x1)] |
= |
x1 +
|
[b1(x1)] |
= |
x1 +
|
[a0(x1)] |
= |
x1 +
|
[a1(x1)] |
= |
x1 +
|
[b1#(x1)] |
= |
x1 +
|
[a0#(x1)] |
= |
x1 +
|
[a1#(x1)] |
= |
x1 +
|
together with the usable
rules
a0(b1(a1(a1(a0(x1))))) |
→ |
a1(a1(a0(b1(a0(x1))))) |
(10) |
a0(b1(a1(a1(a1(x1))))) |
→ |
a1(a1(a0(b1(a1(x1))))) |
(11) |
b1(a1(a0(b0(b1(x1))))) |
→ |
b1(a0(b0(b1(a1(x1))))) |
(13) |
a1(a1(a0(b0(b1(x1))))) |
→ |
a1(a0(b0(b1(a1(x1))))) |
(15) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
b1#(a1(a0(b0(b1(x1))))) |
→ |
b1#(a1(x1)) |
(17) |
b1#(a1(a0(b0(b1(x1))))) |
→ |
a0#(b0(b1(a1(x1)))) |
(18) |
b1#(a1(a0(b0(b1(x1))))) |
→ |
a1#(x1) |
(19) |
a0#(b1(a1(a1(a0(x1))))) |
→ |
b1#(a0(x1)) |
(20) |
a0#(b1(a1(a1(a0(x1))))) |
→ |
a0#(b1(a0(x1))) |
(21) |
a0#(b1(a1(a1(a0(x1))))) |
→ |
a1#(a0(b1(a0(x1)))) |
(22) |
a0#(b1(a1(a1(a0(x1))))) |
→ |
a1#(a1(a0(b1(a0(x1))))) |
(23) |
a0#(b1(a1(a1(a1(x1))))) |
→ |
b1#(a1(x1)) |
(24) |
a0#(b1(a1(a1(a1(x1))))) |
→ |
a0#(b1(a1(x1))) |
(25) |
a0#(b1(a1(a1(a1(x1))))) |
→ |
a1#(a0(b1(a1(x1)))) |
(26) |
a0#(b1(a1(a1(a1(x1))))) |
→ |
a1#(a1(a0(b1(a1(x1))))) |
(27) |
a1#(a1(a0(b0(b1(x1))))) |
→ |
b1#(a1(x1)) |
(28) |
a1#(a1(a0(b0(b1(x1))))) |
→ |
a0#(b0(b1(a1(x1)))) |
(29) |
a1#(a1(a0(b0(b1(x1))))) |
→ |
a1#(x1) |
(30) |
and
no rules
could be deleted.
1.1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 0
components.