Certification Problem
Input (TPDB TRS_Standard/Transformed_CSR_04/ExConc_Zan97_C)
The rewrite relation of the following TRS is considered.
active(f(X)) |
→ |
mark(g(h(f(X)))) |
(1) |
active(f(X)) |
→ |
f(active(X)) |
(2) |
active(h(X)) |
→ |
h(active(X)) |
(3) |
f(mark(X)) |
→ |
mark(f(X)) |
(4) |
h(mark(X)) |
→ |
mark(h(X)) |
(5) |
proper(f(X)) |
→ |
f(proper(X)) |
(6) |
proper(g(X)) |
→ |
g(proper(X)) |
(7) |
proper(h(X)) |
→ |
h(proper(X)) |
(8) |
f(ok(X)) |
→ |
ok(f(X)) |
(9) |
g(ok(X)) |
→ |
ok(g(X)) |
(10) |
h(ok(X)) |
→ |
ok(h(X)) |
(11) |
top(mark(X)) |
→ |
top(proper(X)) |
(12) |
top(ok(X)) |
→ |
top(active(X)) |
(13) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by NaTT @ termCOMP 2023)
1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
active#(f(X)) |
→ |
active#(X) |
(14) |
top#(ok(X)) |
→ |
active#(X) |
(15) |
g#(ok(X)) |
→ |
g#(X) |
(16) |
top#(mark(X)) |
→ |
top#(proper(X)) |
(17) |
proper#(g(X)) |
→ |
g#(proper(X)) |
(18) |
proper#(g(X)) |
→ |
proper#(X) |
(19) |
h#(mark(X)) |
→ |
h#(X) |
(20) |
proper#(h(X)) |
→ |
proper#(X) |
(21) |
f#(ok(X)) |
→ |
f#(X) |
(22) |
top#(mark(X)) |
→ |
proper#(X) |
(23) |
top#(ok(X)) |
→ |
top#(active(X)) |
(24) |
active#(f(X)) |
→ |
g#(h(f(X))) |
(25) |
proper#(h(X)) |
→ |
h#(proper(X)) |
(26) |
f#(mark(X)) |
→ |
f#(X) |
(27) |
active#(h(X)) |
→ |
active#(X) |
(28) |
proper#(f(X)) |
→ |
f#(proper(X)) |
(29) |
active#(f(X)) |
→ |
f#(active(X)) |
(30) |
h#(ok(X)) |
→ |
h#(X) |
(31) |
active#(h(X)) |
→ |
h#(active(X)) |
(32) |
proper#(f(X)) |
→ |
proper#(X) |
(33) |
active#(f(X)) |
→ |
h#(f(X)) |
(34) |
1.1 Dependency Graph Processor
The dependency pairs are split into 6
components.
-
The
1st
component contains the
pair
top#(mark(X)) |
→ |
top#(proper(X)) |
(17) |
top#(ok(X)) |
→ |
top#(active(X)) |
(24) |
1.1.1 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[h(x1)] |
=
|
x1 + 1 |
[top(x1)] |
=
|
0 |
[top#(x1)] |
=
|
x1 + 0 |
[f(x1)] |
=
|
x1 + 1 |
[proper(x1)] |
=
|
x1 + 1 |
[ok(x1)] |
=
|
x1 + 5 |
[h#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 2 |
[f#(x1)] |
=
|
0 |
[g#(x1)] |
=
|
0 |
[proper#(x1)] |
=
|
0 |
[active(x1)] |
=
|
x1 + 4 |
[active#(x1)] |
=
|
0 |
[g(x1)] |
=
|
x1 + 1 |
together with the usable
rules
f(mark(X)) |
→ |
mark(f(X)) |
(4) |
proper(h(X)) |
→ |
h(proper(X)) |
(8) |
active(f(X)) |
→ |
mark(g(h(f(X)))) |
(1) |
active(h(X)) |
→ |
h(active(X)) |
(3) |
h(mark(X)) |
→ |
mark(h(X)) |
(5) |
g(ok(X)) |
→ |
ok(g(X)) |
(10) |
proper(g(X)) |
→ |
g(proper(X)) |
(7) |
h(ok(X)) |
→ |
ok(h(X)) |
(11) |
f(ok(X)) |
→ |
ok(f(X)) |
(9) |
proper(f(X)) |
→ |
f(proper(X)) |
(6) |
active(f(X)) |
→ |
f(active(X)) |
(2) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
top#(mark(X)) |
→ |
top#(proper(X)) |
(17) |
top#(ok(X)) |
→ |
top#(active(X)) |
(24) |
could be deleted.
1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
2nd
component contains the
pair
active#(h(X)) |
→ |
active#(X) |
(28) |
active#(f(X)) |
→ |
active#(X) |
(14) |
1.1.2 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[h(x1)] |
=
|
x1 + 1 |
[top(x1)] |
=
|
0 |
[top#(x1)] |
=
|
x1 + 0 |
[f(x1)] |
=
|
x1 + 1 |
[proper(x1)] |
=
|
x1 + 1 |
[ok(x1)] |
=
|
x1 + 5 |
[h#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 1 |
[f#(x1)] |
=
|
0 |
[g#(x1)] |
=
|
0 |
[proper#(x1)] |
=
|
0 |
[active(x1)] |
=
|
x1 + 3 |
[active#(x1)] |
=
|
x1 + 0 |
[g(x1)] |
=
|
x1 + 1 |
together with the usable
rules
f(mark(X)) |
→ |
mark(f(X)) |
(4) |
proper(h(X)) |
→ |
h(proper(X)) |
(8) |
active(f(X)) |
→ |
mark(g(h(f(X)))) |
(1) |
active(h(X)) |
→ |
h(active(X)) |
(3) |
h(mark(X)) |
→ |
mark(h(X)) |
(5) |
g(ok(X)) |
→ |
ok(g(X)) |
(10) |
proper(g(X)) |
→ |
g(proper(X)) |
(7) |
h(ok(X)) |
→ |
ok(h(X)) |
(11) |
f(ok(X)) |
→ |
ok(f(X)) |
(9) |
proper(f(X)) |
→ |
f(proper(X)) |
(6) |
active(f(X)) |
→ |
f(active(X)) |
(2) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
active#(h(X)) |
→ |
active#(X) |
(28) |
active#(f(X)) |
→ |
active#(X) |
(14) |
could be deleted.
1.1.2.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
3rd
component contains the
pair
proper#(f(X)) |
→ |
proper#(X) |
(33) |
proper#(g(X)) |
→ |
proper#(X) |
(19) |
proper#(h(X)) |
→ |
proper#(X) |
(21) |
1.1.3 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[h(x1)] |
=
|
x1 + 1 |
[top(x1)] |
=
|
0 |
[top#(x1)] |
=
|
x1 + 0 |
[f(x1)] |
=
|
x1 + 28382 |
[proper(x1)] |
=
|
x1 + 21680 |
[ok(x1)] |
=
|
x1 + 5 |
[h#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 1 |
[f#(x1)] |
=
|
0 |
[g#(x1)] |
=
|
0 |
[proper#(x1)] |
=
|
x1 + 0 |
[active(x1)] |
=
|
x1 + 3 |
[active#(x1)] |
=
|
0 |
[g(x1)] |
=
|
x1 + 1 |
together with the usable
rules
f(mark(X)) |
→ |
mark(f(X)) |
(4) |
proper(h(X)) |
→ |
h(proper(X)) |
(8) |
active(f(X)) |
→ |
mark(g(h(f(X)))) |
(1) |
active(h(X)) |
→ |
h(active(X)) |
(3) |
h(mark(X)) |
→ |
mark(h(X)) |
(5) |
g(ok(X)) |
→ |
ok(g(X)) |
(10) |
proper(g(X)) |
→ |
g(proper(X)) |
(7) |
h(ok(X)) |
→ |
ok(h(X)) |
(11) |
f(ok(X)) |
→ |
ok(f(X)) |
(9) |
proper(f(X)) |
→ |
f(proper(X)) |
(6) |
active(f(X)) |
→ |
f(active(X)) |
(2) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
proper#(f(X)) |
→ |
proper#(X) |
(33) |
proper#(g(X)) |
→ |
proper#(X) |
(19) |
proper#(h(X)) |
→ |
proper#(X) |
(21) |
could be deleted.
1.1.3.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
4th
component contains the
pair
f#(mark(X)) |
→ |
f#(X) |
(27) |
f#(ok(X)) |
→ |
f#(X) |
(22) |
1.1.4 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[h(x1)] |
=
|
x1 + 1 |
[top(x1)] |
=
|
0 |
[top#(x1)] |
=
|
x1 + 0 |
[f(x1)] |
=
|
x1 + 1 |
[proper(x1)] |
=
|
x1 + 1 |
[ok(x1)] |
=
|
x1 + 5 |
[h#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 1 |
[f#(x1)] |
=
|
x1 + 0 |
[g#(x1)] |
=
|
0 |
[proper#(x1)] |
=
|
0 |
[active(x1)] |
=
|
x1 + 3 |
[active#(x1)] |
=
|
0 |
[g(x1)] |
=
|
x1 + 1 |
together with the usable
rules
f(mark(X)) |
→ |
mark(f(X)) |
(4) |
proper(h(X)) |
→ |
h(proper(X)) |
(8) |
active(f(X)) |
→ |
mark(g(h(f(X)))) |
(1) |
active(h(X)) |
→ |
h(active(X)) |
(3) |
h(mark(X)) |
→ |
mark(h(X)) |
(5) |
g(ok(X)) |
→ |
ok(g(X)) |
(10) |
proper(g(X)) |
→ |
g(proper(X)) |
(7) |
h(ok(X)) |
→ |
ok(h(X)) |
(11) |
f(ok(X)) |
→ |
ok(f(X)) |
(9) |
proper(f(X)) |
→ |
f(proper(X)) |
(6) |
active(f(X)) |
→ |
f(active(X)) |
(2) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
f#(mark(X)) |
→ |
f#(X) |
(27) |
f#(ok(X)) |
→ |
f#(X) |
(22) |
could be deleted.
1.1.4.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
5th
component contains the
pair
1.1.5 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[h(x1)] |
=
|
x1 + 1 |
[top(x1)] |
=
|
0 |
[top#(x1)] |
=
|
x1 + 0 |
[f(x1)] |
=
|
x1 + 1 |
[proper(x1)] |
=
|
x1 + 1 |
[ok(x1)] |
=
|
x1 + 1 |
[h#(x1)] |
=
|
0 |
[mark(x1)] |
=
|
x1 + 1 |
[f#(x1)] |
=
|
0 |
[g#(x1)] |
=
|
x1 + 0 |
[proper#(x1)] |
=
|
0 |
[active(x1)] |
=
|
x1 + 35659 |
[active#(x1)] |
=
|
0 |
[g(x1)] |
=
|
x1 + 35657 |
together with the usable
rules
f(mark(X)) |
→ |
mark(f(X)) |
(4) |
proper(h(X)) |
→ |
h(proper(X)) |
(8) |
active(f(X)) |
→ |
mark(g(h(f(X)))) |
(1) |
active(h(X)) |
→ |
h(active(X)) |
(3) |
h(mark(X)) |
→ |
mark(h(X)) |
(5) |
g(ok(X)) |
→ |
ok(g(X)) |
(10) |
proper(g(X)) |
→ |
g(proper(X)) |
(7) |
h(ok(X)) |
→ |
ok(h(X)) |
(11) |
f(ok(X)) |
→ |
ok(f(X)) |
(9) |
proper(f(X)) |
→ |
f(proper(X)) |
(6) |
active(f(X)) |
→ |
f(active(X)) |
(2) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pair
could be deleted.
1.1.5.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
6th
component contains the
pair
h#(mark(X)) |
→ |
h#(X) |
(20) |
h#(ok(X)) |
→ |
h#(X) |
(31) |
1.1.6 Reduction Pair Processor with Usable Rules
Using the Max-polynomial interpretation
[h(x1)] |
=
|
x1 + 1 |
[top(x1)] |
=
|
0 |
[top#(x1)] |
=
|
x1 + 0 |
[f(x1)] |
=
|
x1 + 12172 |
[proper(x1)] |
=
|
x1 + 1 |
[ok(x1)] |
=
|
x1 + 1 |
[h#(x1)] |
=
|
x1 + 0 |
[mark(x1)] |
=
|
x1 + 1 |
[f#(x1)] |
=
|
0 |
[g#(x1)] |
=
|
0 |
[proper#(x1)] |
=
|
0 |
[active(x1)] |
=
|
x1 + 32871 |
[active#(x1)] |
=
|
0 |
[g(x1)] |
=
|
x1 + 32869 |
together with the usable
rules
f(mark(X)) |
→ |
mark(f(X)) |
(4) |
proper(h(X)) |
→ |
h(proper(X)) |
(8) |
active(f(X)) |
→ |
mark(g(h(f(X)))) |
(1) |
active(h(X)) |
→ |
h(active(X)) |
(3) |
h(mark(X)) |
→ |
mark(h(X)) |
(5) |
g(ok(X)) |
→ |
ok(g(X)) |
(10) |
proper(g(X)) |
→ |
g(proper(X)) |
(7) |
h(ok(X)) |
→ |
ok(h(X)) |
(11) |
f(ok(X)) |
→ |
ok(f(X)) |
(9) |
proper(f(X)) |
→ |
f(proper(X)) |
(6) |
active(f(X)) |
→ |
f(active(X)) |
(2) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
h#(mark(X)) |
→ |
h#(X) |
(20) |
h#(ok(X)) |
→ |
h#(X) |
(31) |
could be deleted.
1.1.6.1 Dependency Graph Processor
The dependency pairs are split into 0
components.