Certification Problem
Input (TPDB TRS_Standard/Rubio_04/gm)
The rewrite relation of the following TRS is considered.
minus(X,0) |
→ |
X |
(1) |
minus(s(X),s(Y)) |
→ |
p(minus(X,Y)) |
(2) |
p(s(X)) |
→ |
X |
(3) |
div(0,s(Y)) |
→ |
0 |
(4) |
div(s(X),s(Y)) |
→ |
s(div(minus(X,Y),s(Y))) |
(5) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ termCOMP 2023)
1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
minus#(s(X),s(Y)) |
→ |
minus#(X,Y) |
(6) |
minus#(s(X),s(Y)) |
→ |
p#(minus(X,Y)) |
(7) |
div#(s(X),s(Y)) |
→ |
minus#(X,Y) |
(8) |
div#(s(X),s(Y)) |
→ |
div#(minus(X,Y),s(Y)) |
(9) |
1.1 Dependency Graph Processor
The dependency pairs are split into 2
components.
-
The
1st
component contains the
pair
div#(s(X),s(Y)) |
→ |
div#(minus(X,Y),s(Y)) |
(9) |
1.1.1 Subterm Criterion Processor
We use the projection to multisets
π(div#)
|
= |
{
1
}
|
π(p)
|
= |
{
1
}
|
π(minus)
|
= |
{
1
}
|
to remove the pairs:
div#(s(X),s(Y)) |
→ |
div#(minus(X,Y),s(Y)) |
(9) |
1.1.1.1 P is empty
There are no pairs anymore.
-
The
2nd
component contains the
pair
minus#(s(X),s(Y)) |
→ |
minus#(X,Y) |
(6) |
1.1.2 Size-Change Termination
Using size-change termination in combination with
the subterm criterion
one obtains the following initial size-change graphs.
minus#(s(X),s(Y)) |
→ |
minus#(X,Y) |
(6) |
|
2 |
> |
2 |
1 |
> |
1 |
As there is no critical graph in the transitive closure, there are no infinite chains.