Certification Problem
Input (COPS 37)
We consider the TRS containing the following rules:
f(a,x) |
→ |
f(a,g(x)) |
(1) |
a |
→ |
b |
(2) |
g(x) |
→ |
x |
(3) |
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 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 |
(3) |
a |
→ |
b |
(2) |
f(a,x) |
→ |
f(a,g(x)) |
(1) |
f(a,g(x)) |
→ |
f(b,x) |
(4) |
All redundant rules that were added or removed can be
simulated in 2 steps
.
1.1 Critical Pair Closing System
Confluence is proven using the following terminating critical-pair-closing-system R:
a |
→ |
b |
(2) |
f(a,g(x)) |
→ |
f(b,x) |
(4) |
g(x) |
→ |
x |
(3) |
1.1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[f(x1, x2)] |
= |
6 · x1 + 1 · x2 + 0 |
[b] |
= |
5 |
[a] |
= |
5 |
[g(x1)] |
= |
1 · x1 + 1 |
all of the following rules can be deleted.
f(a,g(x)) |
→ |
f(b,x) |
(4) |
g(x) |
→ |
x |
(3) |
1.1.1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
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.