Certification Problem

Input (COPS 804)

We consider the TRS containing the following rules:

f(a) g(h(a,b)) (1)
g(g(a)) f(b) (2)
h(x,x) g(a) (3)

The underlying signature is as follows:

{f/1, a/0, g/1, h/2, 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
[g(x1)] = 1 · x1 + 5
[f(x1)] = 7 · x1 + 7
[h(x1, x2)] = 2 · x1 + 2 · x2 + 6
[a] = 1
[b] = 0
all of the following rules can be deleted.
f(a) g(h(a,b)) (1)
g(g(a)) f(b) (2)

1.1.1 Rule Removal

Using the linear polynomial interpretation over the naturals
[g(x1)] = 1 · x1 + 3
[h(x1, x2)] = 4 · x1 + 5 · x2 + 7
[a] = 3
all of the following rules can be deleted.
h(x,x) g(a) (3)

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.