Certification Problem
Input (TPDB TRS_Equational/Mixed_AC/kusakari1)
The rewrite relation of the following equational TRS is considered.
+(g(x),g(y)) |
→ |
g(+(g(a),+(x,y))) |
(1) |
Associative symbols: +
Commutative symbols: +
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by AProVE @ termCOMP 2023)
1 AC Dependency Pair Transformation
The following set of (strict) dependency pairs is constructed for the TRS.
+#(g(x),g(y)) |
→ |
+#(g(a),+(x,y)) |
(7) |
+#(g(x),g(y)) |
→ |
+#(x,y) |
(8) |
+#(+(g(x),g(y)),ext) |
→ |
+#(g(+(g(a),+(x,y))),ext) |
(9) |
+#(+(g(x),g(y)),ext) |
→ |
+#(g(a),+(x,y)) |
(10) |
+#(+(g(x),g(y)),ext) |
→ |
+#(x,y) |
(11) |
The extended rules of the TRS
+(+(g(x),g(y)),ext) |
→ |
+(g(+(g(a),+(x,y))),ext) |
(12) |
give rise to even more dependency pairs (by sharping the root symbols of each rule).
Finiteness for all DPs in combination with the equational DPs is proven as follows.
1.1 AC Monotonic Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[+#(x1, x2)] |
= |
1 · x1 + 1 · x2
|
[+(x1, x2)] |
= |
1 · x1 + 1 · x2
|
[g(x1)] |
= |
2 + 1 · x1
|
[a] |
= |
0 |
together with the usable
rules
+(g(x),g(y)) |
→ |
g(+(g(a),+(x,y))) |
(1) |
+(+(g(x),g(y)),ext) |
→ |
+(g(+(g(a),+(x,y))),ext) |
(12) |
+(x,y) |
→ |
+(y,x) |
(2) |
+(+(x,y),z) |
→ |
+(x,+(y,z)) |
(3) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
+#(g(x),g(y)) |
→ |
+#(g(a),+(x,y)) |
(7) |
+#(g(x),g(y)) |
→ |
+#(x,y) |
(8) |
+#(+(g(x),g(y)),ext) |
→ |
+#(g(a),+(x,y)) |
(10) |
+#(+(g(x),g(y)),ext) |
→ |
+#(x,y) |
(11) |
and
no rules
could be deleted.
1.1.1 AC Reduction Pair Processor with Usable Rules
Using the linear polynomial interpretation over the naturals
[+#(x1, x2)] |
= |
1 · x1 + 1 · x2
|
[+(x1, x2)] |
= |
1 + 1 · x1 + 1 · x2
|
[g(x1)] |
= |
0 |
[a] |
= |
0 |
together with the usable
rules
+(g(x),g(y)) |
→ |
g(+(g(a),+(x,y))) |
(1) |
+(+(g(x),g(y)),ext) |
→ |
+(g(+(g(a),+(x,y))),ext) |
(12) |
+(+(x,y),z) |
→ |
+(x,+(y,z)) |
(3) |
+(x,y) |
→ |
+(y,x) |
(2) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
+#(+(g(x),g(y)),ext) |
→ |
+#(g(+(g(a),+(x,y))),ext) |
(9) |
+#(+(x,y),z) |
→ |
+#(y,z) |
(6) |
could be deleted.
1.1.1.1 AC Dependency Pair Problem is trivial
There are no strict pairs and rules remaining, or there are no DPs remaining. Therefore, finiteness is trivially satisfied.