Certification Problem
Input (COPS 545)
We consider the TRS containing the following rules:
g(x) |
→ |
h(k(x),x) |
(1) |
g(x) |
→ |
x |
(2) |
h(k(x),x) |
→ |
x |
(3) |
k(c) |
→ |
c |
(4) |
h(k(c),c) |
→ |
g(c) |
(5) |
h(c,c) |
→ |
c |
(6) |
The underlying signature is as follows:
{g/1, h/2, k/1, c/0}Property / Task
Prove or disprove confluence.Answer / Result
Yes.Proof (by csi @ CoCo 2020)
1 Redundant Rules Transformation
To prove that the TRS is (non-)confluent, we show (non-)confluence of the following
modified system:
g(x) |
→ |
x |
(2) |
h(k(x),x) |
→ |
x |
(3) |
k(c) |
→ |
c |
(4) |
h(c,c) |
→ |
c |
(6) |
All redundant rules that were added or removed can be
simulated in 4 steps
.
1.1 Locally confluent and terminating
Confluence is proven by showing local confluence and termination.
1.1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[c] |
= |
0 |
[h(x1, x2)] |
= |
1 · x1 + 1 · x2 + 0 |
[k(x1)] |
= |
2 · x1 + 6 |
[g(x1)] |
= |
4 · x1 + 1 |
all of the following rules can be deleted.
g(x) |
→ |
x |
(2) |
h(k(x),x) |
→ |
x |
(3) |
k(c) |
→ |
c |
(4) |
1.1.1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[c] |
= |
0 |
[h(x1, x2)] |
= |
1 · x1 + 1 · x2 + 1 |
all of the following rules can be deleted.
1.1.1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.
1.1.2 Local Confluence Proof
All critical pairs are joinable which can be seen by computing normal forms of all critical pairs.