Certification Problem
Input (TPDB SRS_Standard/Secret_07_SRS/x04)
The rewrite relation of the following TRS is considered.
a(a(x1)) |
→ |
a(b(a(b(a(x1))))) |
(1) |
c(a(x1)) |
→ |
a(b(a(a(c(x1))))) |
(2) |
b(b(b(x1))) |
→ |
a(b(x1)) |
(3) |
c(b(x1)) |
→ |
a(a(c(x1))) |
(4) |
c(b(x1)) |
→ |
b(a(d(x1))) |
(5) |
d(d(x1)) |
→ |
d(b(d(b(d(x1))))) |
(6) |
c(c(x1)) |
→ |
c(d(c(x1))) |
(7) |
a(a(a(x1))) |
→ |
a(b(b(x1))) |
(8) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by AProVE @ termCOMP 2023)
1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[a(x1)] |
= |
1 · x1
|
[b(x1)] |
= |
1 · x1
|
[c(x1)] |
= |
1 · x1 + 1 |
[d(x1)] |
= |
1 · x1
|
all of the following rules can be deleted.
c(b(x1)) |
→ |
b(a(d(x1))) |
(5) |
1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
a#(a(x1)) |
→ |
a#(b(a(b(a(x1))))) |
(9) |
a#(a(x1)) |
→ |
b#(a(b(a(x1)))) |
(10) |
a#(a(x1)) |
→ |
a#(b(a(x1))) |
(11) |
a#(a(x1)) |
→ |
b#(a(x1)) |
(12) |
c#(a(x1)) |
→ |
a#(b(a(a(c(x1))))) |
(13) |
c#(a(x1)) |
→ |
b#(a(a(c(x1)))) |
(14) |
c#(a(x1)) |
→ |
a#(a(c(x1))) |
(15) |
c#(a(x1)) |
→ |
a#(c(x1)) |
(16) |
c#(a(x1)) |
→ |
c#(x1) |
(17) |
b#(b(b(x1))) |
→ |
a#(b(x1)) |
(18) |
c#(b(x1)) |
→ |
a#(a(c(x1))) |
(19) |
c#(b(x1)) |
→ |
a#(c(x1)) |
(20) |
c#(b(x1)) |
→ |
c#(x1) |
(21) |
d#(d(x1)) |
→ |
d#(b(d(b(d(x1))))) |
(22) |
d#(d(x1)) |
→ |
b#(d(b(d(x1)))) |
(23) |
d#(d(x1)) |
→ |
d#(b(d(x1))) |
(24) |
d#(d(x1)) |
→ |
b#(d(x1)) |
(25) |
c#(c(x1)) |
→ |
c#(d(c(x1))) |
(26) |
c#(c(x1)) |
→ |
d#(c(x1)) |
(27) |
a#(a(a(x1))) |
→ |
a#(b(b(x1))) |
(28) |
a#(a(a(x1))) |
→ |
b#(b(x1)) |
(29) |
a#(a(a(x1))) |
→ |
b#(x1) |
(30) |
1.1.1 Dependency Graph Processor
The dependency pairs are split into 3
components.
-
The
1st
component contains the
pair
c#(b(x1)) |
→ |
c#(x1) |
(21) |
c#(a(x1)) |
→ |
c#(x1) |
(17) |
c#(c(x1)) |
→ |
c#(d(c(x1))) |
(26) |
1.1.1.1 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[c#(x1)] |
= |
1 · x1
|
[b(x1)] |
= |
1 + 1 · x1
|
[a(x1)] |
= |
1 + 1 · x1
|
[c(x1)] |
= |
1 + 1 · x1
|
[d(x1)] |
= |
1 |
together with the usable
rule
d(d(x1)) |
→ |
d(b(d(b(d(x1))))) |
(6) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
c#(b(x1)) |
→ |
c#(x1) |
(21) |
c#(a(x1)) |
→ |
c#(x1) |
(17) |
could be deleted.
1.1.1.1.1 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[c#(x1)] |
= |
1 · x1
|
[c(x1)] |
= |
1 + 1 · x1
|
[d(x1)] |
= |
0 |
[a(x1)] |
= |
0 |
[b(x1)] |
= |
1 · x1
|
together with the usable
rule
d(d(x1)) |
→ |
d(b(d(b(d(x1))))) |
(6) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
c#(c(x1)) |
→ |
c#(d(c(x1))) |
(26) |
could be deleted.
1.1.1.1.1.1 P is empty
There are no pairs anymore.
-
The
2nd
component contains the
pair
d#(d(x1)) |
→ |
d#(b(d(x1))) |
(24) |
d#(d(x1)) |
→ |
d#(b(d(b(d(x1))))) |
(22) |
1.1.1.2 Monotonic Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[d(x1)] |
= |
1 · x1
|
[b(x1)] |
= |
1 · x1
|
[a(x1)] |
= |
1 · x1
|
[d#(x1)] |
= |
1 · x1
|
together with the usable
rules
d(d(x1)) |
→ |
d(b(d(b(d(x1))))) |
(6) |
b(b(b(x1))) |
→ |
a(b(x1)) |
(3) |
a(a(a(x1))) |
→ |
a(b(b(x1))) |
(8) |
a(a(x1)) |
→ |
a(b(a(b(a(x1))))) |
(1) |
(w.r.t. the implicit argument filter of the reduction pair),
the
rule
could be deleted.
1.1.1.2.1 Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[d#(x1)] |
= |
1 · x1
|
[d(x1)] |
= |
1 + 1 · x1
|
[b(x1)] |
= |
0 |
[a(x1)] |
= |
1 · x1
|
together with the usable
rules
b(b(b(x1))) |
→ |
a(b(x1)) |
(3) |
a(a(x1)) |
→ |
a(b(a(b(a(x1))))) |
(1) |
a(a(a(x1))) |
→ |
a(b(b(x1))) |
(8) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
d#(d(x1)) |
→ |
d#(b(d(x1))) |
(24) |
d#(d(x1)) |
→ |
d#(b(d(b(d(x1))))) |
(22) |
could be deleted.
1.1.1.2.1.1 P is empty
There are no pairs anymore.
-
The
3rd
component contains the
pair
a#(a(x1)) |
→ |
a#(b(a(x1))) |
(11) |
a#(a(x1)) |
→ |
a#(b(a(b(a(x1))))) |
(9) |
a#(a(a(x1))) |
→ |
a#(b(b(x1))) |
(28) |
a#(a(a(x1))) |
→ |
b#(b(x1)) |
(29) |
b#(b(b(x1))) |
→ |
a#(b(x1)) |
(18) |
a#(a(a(x1))) |
→ |
b#(x1) |
(30) |
1.1.1.3 Monotonic Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[b(x1)] |
= |
1 · x1
|
[a(x1)] |
= |
1 · x1
|
[a#(x1)] |
= |
1 · x1
|
[b#(x1)] |
= |
1 · x1
|
together with the usable
rules
b(b(b(x1))) |
→ |
a(b(x1)) |
(3) |
a(a(a(x1))) |
→ |
a(b(b(x1))) |
(8) |
a(a(x1)) |
→ |
a(b(a(b(a(x1))))) |
(1) |
(w.r.t. the implicit argument filter of the reduction pair),
the
rule
could be deleted.
1.1.1.3.1 Reduction Pair Processor
Using the matrix interpretations of dimension 3 with strict dimension 1 over the arctic semiring over the naturals
[a#(x1)] |
= |
+
|
0 |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
|
|
· x1
|
[a(x1)] |
= |
+ · x1
|
[b(x1)] |
= |
+ · x1
|
[b#(x1)] |
= |
+ · x1
|
the
pair
a#(a(a(x1))) |
→ |
b#(x1) |
(30) |
could be deleted.
1.1.1.3.1.1 Reduction Pair Processor
Using the matrix interpretations of dimension 3 with strict dimension 1 over the arctic semiring over the naturals
[a#(x1)] |
= |
+ · x1
|
[a(x1)] |
= |
+ · x1
|
[b(x1)] |
= |
+ · x1
|
[b#(x1)] |
= |
+ · x1
|
the
pair
a#(a(x1)) |
→ |
a#(b(a(b(a(x1))))) |
(9) |
could be deleted.
1.1.1.3.1.1.1 Reduction Pair Processor
Using the matrix interpretations of dimension 3 with strict dimension 1 over the arctic semiring over the naturals
[a#(x1)] |
= |
+ · x1
|
[a(x1)] |
= |
+ · x1
|
[b(x1)] |
= |
+ · x1
|
[b#(x1)] |
= |
+ · x1
|
the
pair
a#(a(x1)) |
→ |
a#(b(a(x1))) |
(11) |
could be deleted.
1.1.1.3.1.1.1.1 Reduction Pair Processor
Using the matrix interpretations of dimension 3 with strict dimension 1 over the arctic semiring over the naturals
[a#(x1)] |
= |
+
|
-∞ |
-∞ |
0 |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
|
|
· x1
|
[a(x1)] |
= |
+ · x1
|
[b(x1)] |
= |
+ · x1
|
[b#(x1)] |
= |
+
|
0 |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
-∞ |
|
|
· x1
|
the
pair
a#(a(a(x1))) |
→ |
b#(b(x1)) |
(29) |
could be deleted.
1.1.1.3.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 1
component.