Certification Problem

Input (COPS 2)

We consider the TRS containing the following rules:

f(x,y) f(g(x),g(x)) (1)
g(x) h(x) (2)
F(g(x),x) F(x,g(x)) (3)
F(h(x),x) F(x,h(x)) (4)

The underlying signature is as follows:

{f/2, g/1, h/1, F/2}

Property / Task

Prove or disprove confluence.

Answer / Result

Yes.

Proof (by csi @ CoCo 2020)

1 Persistent Decomposition (Many-Sorted)

Confluence is proven, because the maximal systems induced by the sorts in the following many-sorted sort attachment are confluent.
f : 2 ⨯ 2 → 0
g : 2 → 2
h : 2 → 2
F : 2 ⨯ 2 → 1
The subsystems are

(1.1)

f(x,y) f(g(x),g(x)) (1)
g(x) h(x) (2)

(1.2)

g(x) h(x) (2)
F(g(x),x) F(x,g(x)) (3)
F(h(x),x) F(x,h(x)) (4)

1.1 Critical Pair Closing System

Confluence is proven using the following terminating critical-pair-closing-system R:

There are no rules.

1.1.1 R is empty

There are no rules in the TRS. Hence, it is terminating.

1.2 Redundant Rules Transformation

To prove that the TRS is (non-)confluent, we show (non-)confluence of the following modified system:

F(h(x),x) F(x,h(x)) (4)
F(g(x),x) F(x,g(x)) (3)
g(x) h(x) (2)
F(g(x),x) F(x,h(x)) (5)

All redundant rules that were added or removed can be simulated in 2 steps .

1.2.1 Locally confluent and terminating

Confluence is proven by showing local confluence and termination.

1.2.1.1 Rule Removal

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

1.2.1.1.1 R is empty

There are no rules in the TRS. Hence, it is terminating.

1.2.1.2 Local Confluence Proof

All critical pairs are joinable which can be seen by computing normal forms of all critical pairs.