Certification Problem
Input (TPDB SRS_Standard/Zantema_04/z076)
The rewrite relation of the following TRS is considered.
f(s(x1)) |
→ |
s(s(f(p(s(x1))))) |
(1) |
f(0(x1)) |
→ |
0(x1) |
(2) |
p(s(x1)) |
→ |
x1 |
(3) |
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
[0(x1)] |
= |
x1 +
|
[f(x1)] |
= |
x1 +
|
[s(x1)] |
= |
x1 +
|
[p(x1)] |
= |
x1 +
|
all of the following rules can be deleted.
1.1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
s(f(x1)) |
→ |
s(p(f(s(s(x1))))) |
(4) |
s(p(x1)) |
→ |
x1 |
(5) |
1.1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
s#(f(x1)) |
→ |
s#(x1) |
(6) |
s#(f(x1)) |
→ |
s#(s(x1)) |
(7) |
s#(f(x1)) |
→ |
s#(p(f(s(s(x1))))) |
(8) |
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
[f(x1)] |
= |
x1 +
|
[s(x1)] |
= |
x1 +
|
[p(x1)] |
= |
x1 +
|
[s#(x1)] |
= |
x1 +
|
together with the usable
rules
s(f(x1)) |
→ |
s(p(f(s(s(x1))))) |
(4) |
s(p(x1)) |
→ |
x1 |
(5) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
s#(f(x1)) |
→ |
s#(x1) |
(6) |
s#(f(x1)) |
→ |
s#(s(x1)) |
(7) |
and
no rules
could be deleted.
1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 0
components.