Certification Problem
Input (TPDB SRS_Standard/Secret_06_SRS/secr9)
The rewrite relation of the following TRS is considered.
a(c(x1)) |
→ |
c(b(c(c(a(x1))))) |
(1) |
b(b(b(x1))) |
→ |
c(b(x1)) |
(2) |
d(d(x1)) |
→ |
d(b(d(b(d(x1))))) |
(3) |
a(a(x1)) |
→ |
a(d(a(x1))) |
(4) |
a(b(x1)) |
→ |
c(c(a(x1))) |
(5) |
c(c(x1)) |
→ |
c(b(c(b(c(x1))))) |
(6) |
c(c(c(x1))) |
→ |
c(b(b(x1))) |
(7) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ termCOMP 2023)
1 Rule Removal
Using the
linear polynomial interpretation over (3 x 3)-matrices with strict dimension 1
over the naturals
[a(x1)] |
= |
· x1 +
|
[d(x1)] |
= |
· x1 +
|
[c(x1)] |
= |
· x1 +
|
[b(x1)] |
= |
· x1 +
|
all of the following rules can be deleted.
d(d(x1)) |
→ |
d(b(d(b(d(x1))))) |
(3) |
1.1 Rule Removal
Using the
linear polynomial interpretation over (3 x 3)-matrices with strict dimension 1
over the naturals
[a(x1)] |
= |
· x1 +
|
[d(x1)] |
= |
· x1 +
|
[c(x1)] |
= |
· x1 +
|
[b(x1)] |
= |
· x1 +
|
all of the following rules can be deleted.
a(a(x1)) |
→ |
a(d(a(x1))) |
(4) |
1.1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
a#(c(x1)) |
→ |
a#(x1) |
(8) |
a#(c(x1)) |
→ |
c#(a(x1)) |
(9) |
a#(c(x1)) |
→ |
c#(c(a(x1))) |
(10) |
a#(c(x1)) |
→ |
b#(c(c(a(x1)))) |
(11) |
a#(c(x1)) |
→ |
c#(b(c(c(a(x1))))) |
(12) |
b#(b(b(x1))) |
→ |
c#(b(x1)) |
(13) |
a#(b(x1)) |
→ |
a#(x1) |
(14) |
a#(b(x1)) |
→ |
c#(a(x1)) |
(15) |
a#(b(x1)) |
→ |
c#(c(a(x1))) |
(16) |
c#(c(x1)) |
→ |
b#(c(x1)) |
(17) |
c#(c(x1)) |
→ |
c#(b(c(x1))) |
(18) |
c#(c(x1)) |
→ |
b#(c(b(c(x1)))) |
(19) |
c#(c(x1)) |
→ |
c#(b(c(b(c(x1))))) |
(20) |
c#(c(c(x1))) |
→ |
b#(x1) |
(21) |
c#(c(c(x1))) |
→ |
b#(b(x1)) |
(22) |
c#(c(c(x1))) |
→ |
c#(b(b(x1))) |
(23) |
1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 2
components.
-
The
1st
component contains the
pair
a#(b(x1)) |
→ |
a#(x1) |
(14) |
a#(c(x1)) |
→ |
a#(x1) |
(8) |
1.1.1.1.1 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
a#(b(x1)) |
→ |
a#(x1) |
(14) |
|
1 |
> |
1 |
a#(c(x1)) |
→ |
a#(x1) |
(8) |
|
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.
-
The
2nd
component contains the
pair
b#(b(b(x1))) |
→ |
c#(b(x1)) |
(13) |
c#(c(c(x1))) |
→ |
c#(b(b(x1))) |
(23) |
c#(c(c(x1))) |
→ |
b#(b(x1)) |
(22) |
c#(c(c(x1))) |
→ |
b#(x1) |
(21) |
c#(c(x1)) |
→ |
c#(b(c(b(c(x1))))) |
(20) |
c#(c(x1)) |
→ |
c#(b(c(x1))) |
(18) |
1.1.1.1.2 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over (2 x 2)-matrices with strict dimension 1
over the arctic semiring over the integers
[c#(x1)] |
= |
· x1 +
|
[c(x1)] |
= |
· x1 +
|
[b#(x1)] |
= |
· x1 +
|
[b(x1)] |
= |
· x1 +
|
together with the usable
rules
b(b(b(x1))) |
→ |
c(b(x1)) |
(2) |
c(c(x1)) |
→ |
c(b(c(b(c(x1))))) |
(6) |
c(c(c(x1))) |
→ |
c(b(b(x1))) |
(7) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
b#(b(b(x1))) |
→ |
c#(b(x1)) |
(13) |
c#(c(c(x1))) |
→ |
b#(x1) |
(21) |
c#(c(x1)) |
→ |
c#(b(c(b(c(x1))))) |
(20) |
c#(c(x1)) |
→ |
c#(b(c(x1))) |
(18) |
could be deleted.
1.1.1.1.2.1 Dependency Graph Processor
The dependency pairs are split into 1
component.