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 matchbox @ termCOMP 2023)
1 Split
We split R in the relative problem D/R-D and R-D, where the rules D
|
b(b(b(a(x1)))) |
→ |
a(a(a(a(x1)))) |
(2) |
|
a(b(a(a(x1)))) |
→ |
b(a(b(b(x1)))) |
(3) |
are deleted.
1.1 Closure Under Flat Contexts
Using the flat contexts
{b(☐), a(☐)}
We obtain the transformed TRS
|
b(b(b(b(a(x1))))) |
→ |
b(a(a(a(a(x1))))) |
(4) |
|
b(a(b(a(a(x1))))) |
→ |
b(b(a(b(b(x1))))) |
(5) |
|
a(b(b(b(a(x1))))) |
→ |
a(a(a(a(a(x1))))) |
(6) |
|
a(a(b(a(a(x1))))) |
→ |
a(b(a(b(b(x1))))) |
(7) |
|
b(a(b(b(a(x1))))) |
→ |
b(b(b(a(a(x1))))) |
(8) |
|
a(a(b(b(a(x1))))) |
→ |
a(b(b(a(a(x1))))) |
(9) |
1.1.1 Closure Under Flat Contexts
Using the flat contexts
{b(☐), a(☐)}
We obtain the transformed TRS
|
b(b(b(b(b(a(x1)))))) |
→ |
b(b(a(a(a(a(x1)))))) |
(10) |
|
b(b(a(b(a(a(x1)))))) |
→ |
b(b(b(a(b(b(x1)))))) |
(11) |
|
b(a(b(b(b(a(x1)))))) |
→ |
b(a(a(a(a(a(x1)))))) |
(12) |
|
b(a(a(b(a(a(x1)))))) |
→ |
b(a(b(a(b(b(x1)))))) |
(13) |
|
a(b(b(b(b(a(x1)))))) |
→ |
a(b(a(a(a(a(x1)))))) |
(14) |
|
a(b(a(b(a(a(x1)))))) |
→ |
a(b(b(a(b(b(x1)))))) |
(15) |
|
a(a(b(b(b(a(x1)))))) |
→ |
a(a(a(a(a(a(x1)))))) |
(16) |
|
a(a(a(b(a(a(x1)))))) |
→ |
a(a(b(a(b(b(x1)))))) |
(17) |
|
b(b(a(b(b(a(x1)))))) |
→ |
b(b(b(b(a(a(x1)))))) |
(18) |
|
b(a(a(b(b(a(x1)))))) |
→ |
b(a(b(b(a(a(x1)))))) |
(19) |
|
a(b(a(b(b(a(x1)))))) |
→ |
a(b(b(b(a(a(x1)))))) |
(20) |
|
a(a(a(b(b(a(x1)))))) |
→ |
a(a(b(b(a(a(x1)))))) |
(21) |
1.1.1.1 Closure Under Flat Contexts
Using the flat contexts
{b(☐), a(☐)}
We obtain the transformed TRS
|
b(b(b(b(b(b(a(x1))))))) |
→ |
b(b(b(a(a(a(a(x1))))))) |
(22) |
|
b(b(b(a(b(a(a(x1))))))) |
→ |
b(b(b(b(a(b(b(x1))))))) |
(23) |
|
b(b(a(b(b(b(a(x1))))))) |
→ |
b(b(a(a(a(a(a(x1))))))) |
(24) |
|
b(b(a(a(b(a(a(x1))))))) |
→ |
b(b(a(b(a(b(b(x1))))))) |
(25) |
|
b(a(b(b(b(b(a(x1))))))) |
→ |
b(a(b(a(a(a(a(x1))))))) |
(26) |
|
b(a(b(a(b(a(a(x1))))))) |
→ |
b(a(b(b(a(b(b(x1))))))) |
(27) |
|
b(a(a(b(b(b(a(x1))))))) |
→ |
b(a(a(a(a(a(a(x1))))))) |
(28) |
|
b(a(a(a(b(a(a(x1))))))) |
→ |
b(a(a(b(a(b(b(x1))))))) |
(29) |
|
a(b(b(b(b(b(a(x1))))))) |
→ |
a(b(b(a(a(a(a(x1))))))) |
(30) |
|
a(b(b(a(b(a(a(x1))))))) |
→ |
a(b(b(b(a(b(b(x1))))))) |
(31) |
|
a(b(a(b(b(b(a(x1))))))) |
→ |
a(b(a(a(a(a(a(x1))))))) |
(32) |
|
a(b(a(a(b(a(a(x1))))))) |
→ |
a(b(a(b(a(b(b(x1))))))) |
(33) |
|
a(a(b(b(b(b(a(x1))))))) |
→ |
a(a(b(a(a(a(a(x1))))))) |
(34) |
|
a(a(b(a(b(a(a(x1))))))) |
→ |
a(a(b(b(a(b(b(x1))))))) |
(35) |
|
a(a(a(b(b(b(a(x1))))))) |
→ |
a(a(a(a(a(a(a(x1))))))) |
(36) |
|
a(a(a(a(b(a(a(x1))))))) |
→ |
a(a(a(b(a(b(b(x1))))))) |
(37) |
|
b(b(b(a(b(b(a(x1))))))) |
→ |
b(b(b(b(b(a(a(x1))))))) |
(38) |
|
b(b(a(a(b(b(a(x1))))))) |
→ |
b(b(a(b(b(a(a(x1))))))) |
(39) |
|
b(a(b(a(b(b(a(x1))))))) |
→ |
b(a(b(b(b(a(a(x1))))))) |
(40) |
|
b(a(a(a(b(b(a(x1))))))) |
→ |
b(a(a(b(b(a(a(x1))))))) |
(41) |
|
a(b(b(a(b(b(a(x1))))))) |
→ |
a(b(b(b(b(a(a(x1))))))) |
(42) |
|
a(b(a(a(b(b(a(x1))))))) |
→ |
a(b(a(b(b(a(a(x1))))))) |
(43) |
|
a(a(b(a(b(b(a(x1))))))) |
→ |
a(a(b(b(b(a(a(x1))))))) |
(44) |
|
a(a(a(a(b(b(a(x1))))))) |
→ |
a(a(a(b(b(a(a(x1))))))) |
(45) |
1.1.1.1.1 Semantic Labeling
The following interpretations form a
model
of the rules.
As carrier we take the set
{0,...,7}.
Symbols are labeled by the interpretation of their arguments using the interpretations
(modulo 8):
| [b(x1)] |
= |
2x1 + 0 |
| [a(x1)] |
= |
2x1 + 1 |
We obtain the labeled TRS
There are 192 ruless (increase limit for explicit display).
1.1.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 +
|
| [b4(x1)] |
= |
x1 +
|
| [b2(x1)] |
= |
x1 +
|
| [b6(x1)] |
= |
x1 +
|
| [b1(x1)] |
= |
x1 +
|
| [b5(x1)] |
= |
x1 +
|
| [b3(x1)] |
= |
x1 +
|
| [b7(x1)] |
= |
x1 +
|
| [a0(x1)] |
= |
x1 +
|
| [a4(x1)] |
= |
x1 +
|
| [a2(x1)] |
= |
x1 +
|
| [a6(x1)] |
= |
x1 +
|
| [a1(x1)] |
= |
x1 +
|
| [a5(x1)] |
= |
x1 +
|
| [a3(x1)] |
= |
x1 +
|
| [a7(x1)] |
= |
x1 +
|
all of the following rules can be deleted.
There are 174 ruless (increase limit for explicit display).
1.1.1.1.1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.
1.2 Closure Under Flat Contexts
Using the flat contexts
{b(☐), a(☐)}
We obtain the transformed TRS
|
b(a(b(b(a(x1))))) |
→ |
b(b(b(a(a(x1))))) |
(8) |
|
a(a(b(b(a(x1))))) |
→ |
a(b(b(a(a(x1))))) |
(9) |
1.2.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
|
a1(a0(b0(b1(a1(x1))))) |
→ |
a0(b0(b1(a1(a1(x1))))) |
(238) |
|
a1(a0(b0(b1(a0(x1))))) |
→ |
a0(b0(b1(a1(a0(x1))))) |
(239) |
|
b1(a0(b0(b1(a1(x1))))) |
→ |
b0(b0(b1(a1(a1(x1))))) |
(240) |
|
b1(a0(b0(b1(a0(x1))))) |
→ |
b0(b0(b1(a1(a0(x1))))) |
(241) |
1.2.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.
|
b1(a0(b0(b1(a1(x1))))) |
→ |
b0(b0(b1(a1(a1(x1))))) |
(240) |
|
b1(a0(b0(b1(a0(x1))))) |
→ |
b0(b0(b1(a1(a0(x1))))) |
(241) |
1.2.1.1.1 Rule Removal
Using the
matrix interpretations of dimension 1 with strict dimension 1 over the naturals
| [b0(x1)] |
= |
· x1 +
|
| [b1(x1)] |
= |
· x1 +
|
| [a0(x1)] |
= |
· x1 +
|
| [a1(x1)] |
= |
· x1 +
|
all of the following rules can be deleted.
|
a1(a0(b0(b1(a1(x1))))) |
→ |
a0(b0(b1(a1(a1(x1))))) |
(238) |
|
a1(a0(b0(b1(a0(x1))))) |
→ |
a0(b0(b1(a1(a0(x1))))) |
(239) |
1.2.1.1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.