Certification Problem
Input (COPS 12)
We consider the TRS containing the following rules:
f(x,x) |
→ |
a |
(1) |
f(x,g(x)) |
→ |
b |
(2) |
The underlying signature is as follows:
{f/2, a/0, g/1, b/0}Property / Task
Prove or disprove confluence.Answer / Result
Yes.Proof (by csi @ CoCo 2022)
1 Locally confluent and terminating
Confluence is proven by showing local confluence and termination.
1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[a] |
= |
0 |
[b] |
= |
7 |
[f(x1, x2)] |
= |
4 · x1 + 2 · x2 + 7 |
[g(x1)] |
= |
1 · x1 + 0 |
all of the following rules can be deleted.
1.1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[b] |
= |
0 |
[f(x1, x2)] |
= |
2 · x1 + 7 · x2 + 4 |
[g(x1)] |
= |
3 · x1 + 0 |
all of the following rules can be deleted.
1.1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.
1.2 Local Confluence Proof
All critical pairs are joinable which can be seen by computing normal forms of all critical pairs.