Certification Problem
Input (TPDB SRS_Standard/Zantema_04/z071)
The rewrite relation of the following TRS is considered.
R(x1) |
→ |
r(x1) |
(1) |
r(p(x1)) |
→ |
p(p(r(P(x1)))) |
(2) |
r(r(x1)) |
→ |
x1 |
(3) |
r(P(P(x1))) |
→ |
P(P(r(x1))) |
(4) |
p(P(x1)) |
→ |
x1 |
(5) |
P(p(x1)) |
→ |
x1 |
(6) |
r(R(x1)) |
→ |
x1 |
(7) |
R(r(x1)) |
→ |
x1 |
(8) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by matchbox @ termCOMP 2023)
1 Rule Removal
Using the
matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[R(x1)] |
= |
x1 +
|
[P(x1)] |
= |
x1 +
|
[r(x1)] |
= |
x1 +
|
[p(x1)] |
= |
x1 +
|
all of the following rules can be deleted.
R(x1) |
→ |
r(x1) |
(1) |
r(r(x1)) |
→ |
x1 |
(3) |
r(R(x1)) |
→ |
x1 |
(7) |
R(r(x1)) |
→ |
x1 |
(8) |
1.1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
p(r(x1)) |
→ |
P(r(p(p(x1)))) |
(9) |
P(P(r(x1))) |
→ |
r(P(P(x1))) |
(10) |
P(p(x1)) |
→ |
x1 |
(6) |
p(P(x1)) |
→ |
x1 |
(5) |
1.1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
P#(P(r(x1))) |
→ |
P#(x1) |
(11) |
P#(P(r(x1))) |
→ |
P#(P(x1)) |
(12) |
p#(r(x1)) |
→ |
P#(r(p(p(x1)))) |
(13) |
p#(r(x1)) |
→ |
p#(x1) |
(14) |
p#(r(x1)) |
→ |
p#(p(x1)) |
(15) |
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
[P(x1)] |
= |
x1 +
|
[r(x1)] |
= |
x1 +
|
[p(x1)] |
= |
x1 +
|
[P#(x1)] |
= |
x1 +
|
[p#(x1)] |
= |
x1 +
|
together with the usable
rules
p(r(x1)) |
→ |
P(r(p(p(x1)))) |
(9) |
P(P(r(x1))) |
→ |
r(P(P(x1))) |
(10) |
P(p(x1)) |
→ |
x1 |
(6) |
p(P(x1)) |
→ |
x1 |
(5) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
P#(P(r(x1))) |
→ |
P#(x1) |
(11) |
P#(P(r(x1))) |
→ |
P#(P(x1)) |
(12) |
p#(r(x1)) |
→ |
P#(r(p(p(x1)))) |
(13) |
p#(r(x1)) |
→ |
p#(x1) |
(14) |
p#(r(x1)) |
→ |
p#(p(x1)) |
(15) |
and
no rules
could be deleted.
1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 0
components.