Certification Problem
Input (TPDB TRS_Standard/SK90/2.12)
The rewrite relation of the following TRS is considered.
+(0,y) |
→ |
y |
(1) |
+(s(x),y) |
→ |
s(+(x,y)) |
(2) |
+(p(x),y) |
→ |
p(+(x,y)) |
(3) |
minus(0) |
→ |
0 |
(4) |
minus(s(x)) |
→ |
p(minus(x)) |
(5) |
minus(p(x)) |
→ |
s(minus(x)) |
(6) |
*(0,y) |
→ |
0 |
(7) |
*(s(x),y) |
→ |
+(*(x,y),y) |
(8) |
*(p(x),y) |
→ |
+(*(x,y),minus(y)) |
(9) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by NaTT @ termCOMP 2023)
1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
minus#(p(x)) |
→ |
minus#(x) |
(10) |
minus#(s(x)) |
→ |
minus#(x) |
(11) |
*#(s(x),y) |
→ |
*#(x,y) |
(12) |
+#(p(x),y) |
→ |
+#(x,y) |
(13) |
*#(p(x),y) |
→ |
minus#(y) |
(14) |
*#(p(x),y) |
→ |
+#(*(x,y),minus(y)) |
(15) |
+#(s(x),y) |
→ |
+#(x,y) |
(16) |
*#(s(x),y) |
→ |
+#(*(x,y),y) |
(17) |
*#(p(x),y) |
→ |
*#(x,y) |
(18) |
1.1 Dependency Graph Processor
The dependency pairs are split into 3
components.
-
The
1st
component contains the
pair
*#(p(x),y) |
→ |
*#(x,y) |
(18) |
*#(s(x),y) |
→ |
*#(x,y) |
(12) |
1.1.1 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[s(x1)] |
=
|
x1 + 1 |
[minus(x1)] |
=
|
0 |
[*#(x1, x2)] |
=
|
x1 + 0 |
[p(x1)] |
=
|
x1 + 1 |
[0] |
=
|
0 |
[minus#(x1)] |
=
|
0 |
[+(x1, x2)] |
=
|
0 |
[+#(x1, x2)] |
=
|
0 |
[*(x1, x2)] |
=
|
0 |
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pairs
*#(p(x),y) |
→ |
*#(x,y) |
(18) |
*#(s(x),y) |
→ |
*#(x,y) |
(12) |
could be deleted.
1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
2nd
component contains the
pair
+#(s(x),y) |
→ |
+#(x,y) |
(16) |
+#(p(x),y) |
→ |
+#(x,y) |
(13) |
1.1.2 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[s(x1)] |
=
|
x1 + 1 |
[minus(x1)] |
=
|
0 |
[*#(x1, x2)] |
=
|
0 |
[p(x1)] |
=
|
x1 + 1 |
[0] |
=
|
0 |
[minus#(x1)] |
=
|
0 |
[+(x1, x2)] |
=
|
0 |
[+#(x1, x2)] |
=
|
x1 + 0 |
[*(x1, x2)] |
=
|
0 |
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pairs
+#(s(x),y) |
→ |
+#(x,y) |
(16) |
+#(p(x),y) |
→ |
+#(x,y) |
(13) |
could be deleted.
1.1.2.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
3rd
component contains the
pair
minus#(s(x)) |
→ |
minus#(x) |
(11) |
minus#(p(x)) |
→ |
minus#(x) |
(10) |
1.1.3 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[s(x1)] |
=
|
x1 + 1 |
[minus(x1)] |
=
|
0 |
[*#(x1, x2)] |
=
|
0 |
[p(x1)] |
=
|
x1 + 1 |
[0] |
=
|
0 |
[minus#(x1)] |
=
|
x1 + 0 |
[+(x1, x2)] |
=
|
0 |
[+#(x1, x2)] |
=
|
0 |
[*(x1, x2)] |
=
|
0 |
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pairs
minus#(s(x)) |
→ |
minus#(x) |
(11) |
minus#(p(x)) |
→ |
minus#(x) |
(10) |
could be deleted.
1.1.3.1 Dependency Graph Processor
The dependency pairs are split into 0
components.