Certification Problem
Input (TPDB SRS_Standard/Zantema_04/z100)
The rewrite relation of the following TRS is considered.
r1(a(x1)) |
→ |
a(a(a(r1(x1)))) |
(1) |
r2(a(x1)) |
→ |
a(a(a(r2(x1)))) |
(2) |
a(l1(x1)) |
→ |
l1(a(a(a(x1)))) |
(3) |
a(a(l2(x1))) |
→ |
l2(a(a(x1))) |
(4) |
r1(b(x1)) |
→ |
l1(b(x1)) |
(5) |
r2(b(x1)) |
→ |
l2(a(b(x1))) |
(6) |
b(l1(x1)) |
→ |
b(r2(x1)) |
(7) |
b(l2(x1)) |
→ |
b(r1(x1)) |
(8) |
a(a(x1)) |
→ |
x1 |
(9) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by matchbox @ termCOMP 2023)
1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
a(r1(x1)) |
→ |
r1(a(a(a(x1)))) |
(10) |
a(r2(x1)) |
→ |
r2(a(a(a(x1)))) |
(11) |
l1(a(x1)) |
→ |
a(a(a(l1(x1)))) |
(12) |
l2(a(a(x1))) |
→ |
a(a(l2(x1))) |
(13) |
b(r1(x1)) |
→ |
b(l1(x1)) |
(14) |
b(r2(x1)) |
→ |
b(a(l2(x1))) |
(15) |
l1(b(x1)) |
→ |
r2(b(x1)) |
(16) |
l2(b(x1)) |
→ |
r1(b(x1)) |
(17) |
a(a(x1)) |
→ |
x1 |
(9) |
1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
l2#(a(a(x1))) |
→ |
l2#(x1) |
(18) |
l2#(a(a(x1))) |
→ |
a#(l2(x1)) |
(19) |
l2#(a(a(x1))) |
→ |
a#(a(l2(x1))) |
(20) |
l1#(a(x1)) |
→ |
l1#(x1) |
(21) |
l1#(a(x1)) |
→ |
a#(l1(x1)) |
(22) |
l1#(a(x1)) |
→ |
a#(a(l1(x1))) |
(23) |
l1#(a(x1)) |
→ |
a#(a(a(l1(x1)))) |
(24) |
b#(r1(x1)) |
→ |
l1#(x1) |
(25) |
b#(r1(x1)) |
→ |
b#(l1(x1)) |
(26) |
b#(r2(x1)) |
→ |
l2#(x1) |
(27) |
b#(r2(x1)) |
→ |
b#(a(l2(x1))) |
(28) |
b#(r2(x1)) |
→ |
a#(l2(x1)) |
(29) |
a#(r1(x1)) |
→ |
a#(x1) |
(30) |
a#(r1(x1)) |
→ |
a#(a(x1)) |
(31) |
a#(r1(x1)) |
→ |
a#(a(a(x1))) |
(32) |
a#(r2(x1)) |
→ |
a#(x1) |
(33) |
a#(r2(x1)) |
→ |
a#(a(x1)) |
(34) |
a#(r2(x1)) |
→ |
a#(a(a(x1))) |
(35) |
1.1.1 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[l2(x1)] |
= |
x1 +
|
[l1(x1)] |
= |
x1 +
|
[r1(x1)] |
= |
x1 +
|
[r2(x1)] |
= |
x1 +
|
[b(x1)] |
= |
x1 +
|
[a(x1)] |
= |
x1 +
|
[l2#(x1)] |
= |
x1 +
|
[l1#(x1)] |
= |
x1 +
|
[b#(x1)] |
= |
x1 +
|
[a#(x1)] |
= |
x1 +
|
together with the usable
rules
a(r1(x1)) |
→ |
r1(a(a(a(x1)))) |
(10) |
a(r2(x1)) |
→ |
r2(a(a(a(x1)))) |
(11) |
l1(a(x1)) |
→ |
a(a(a(l1(x1)))) |
(12) |
l2(a(a(x1))) |
→ |
a(a(l2(x1))) |
(13) |
b(r1(x1)) |
→ |
b(l1(x1)) |
(14) |
b(r2(x1)) |
→ |
b(a(l2(x1))) |
(15) |
l1(b(x1)) |
→ |
r2(b(x1)) |
(16) |
l2(b(x1)) |
→ |
r1(b(x1)) |
(17) |
a(a(x1)) |
→ |
x1 |
(9) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
l2#(a(a(x1))) |
→ |
a#(l2(x1)) |
(19) |
l2#(a(a(x1))) |
→ |
a#(a(l2(x1))) |
(20) |
l1#(a(x1)) |
→ |
a#(l1(x1)) |
(22) |
l1#(a(x1)) |
→ |
a#(a(l1(x1))) |
(23) |
l1#(a(x1)) |
→ |
a#(a(a(l1(x1)))) |
(24) |
b#(r1(x1)) |
→ |
l1#(x1) |
(25) |
b#(r2(x1)) |
→ |
l2#(x1) |
(27) |
b#(r2(x1)) |
→ |
a#(l2(x1)) |
(29) |
a#(r1(x1)) |
→ |
a#(x1) |
(30) |
a#(r1(x1)) |
→ |
a#(a(x1)) |
(31) |
a#(r1(x1)) |
→ |
a#(a(a(x1))) |
(32) |
a#(r2(x1)) |
→ |
a#(x1) |
(33) |
a#(r2(x1)) |
→ |
a#(a(x1)) |
(34) |
a#(r2(x1)) |
→ |
a#(a(a(x1))) |
(35) |
and
no rules
could be deleted.
1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 3
components.
-
The
1st
component contains the
pair
l2#(a(a(x1))) |
→ |
l2#(x1) |
(18) |
1.1.1.1.1 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[a(x1)] |
= |
x1 +
|
[l2#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
l2#(a(a(x1))) |
→ |
l2#(x1) |
(18) |
and
no rules
could be deleted.
1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
2nd
component contains the
pair
l1#(a(x1)) |
→ |
l1#(x1) |
(21) |
1.1.1.1.2 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[a(x1)] |
= |
x1 +
|
[l1#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
l1#(a(x1)) |
→ |
l1#(x1) |
(21) |
and
no rules
could be deleted.
1.1.1.1.2.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
3rd
component contains the
pair
b#(r1(x1)) |
→ |
b#(l1(x1)) |
(26) |
b#(r2(x1)) |
→ |
b#(a(l2(x1))) |
(28) |
1.1.1.1.3 Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 2 with strict dimension 1 over the arctic semiring over the naturals
[l2(x1)] |
= |
· x1 +
|
[l1(x1)] |
= |
· x1 +
|
[r1(x1)] |
= |
· x1 +
|
[r2(x1)] |
= |
· x1 +
|
[b(x1)] |
= |
· x1 +
|
[a(x1)] |
= |
· x1 +
|
[b#(x1)] |
= |
· x1 +
|
together with the usable
rules
a(r1(x1)) |
→ |
r1(a(a(a(x1)))) |
(10) |
a(r2(x1)) |
→ |
r2(a(a(a(x1)))) |
(11) |
l1(a(x1)) |
→ |
a(a(a(l1(x1)))) |
(12) |
l2(a(a(x1))) |
→ |
a(a(l2(x1))) |
(13) |
b(r1(x1)) |
→ |
b(l1(x1)) |
(14) |
b(r2(x1)) |
→ |
b(a(l2(x1))) |
(15) |
l1(b(x1)) |
→ |
r2(b(x1)) |
(16) |
l2(b(x1)) |
→ |
r1(b(x1)) |
(17) |
a(a(x1)) |
→ |
x1 |
(9) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
b#(r2(x1)) |
→ |
b#(a(l2(x1))) |
(28) |
could be deleted.
1.1.1.1.3.1 Dependency Graph Processor
The dependency pairs are split into 1
component.