Certification Problem
Input (COPS 48)
We consider the TRS containing the following rules:
H(F(x,y)) |
→ |
F(H(R(x)),y) |
(1) |
F(x,K(y,z)) |
→ |
G(P(y),Q(z,x)) |
(2) |
H(Q(x,y)) |
→ |
Q(x,H(R(y))) |
(3) |
Q(x,H(R(y))) |
→ |
H(Q(x,y)) |
(4) |
H(G(x,y)) |
→ |
G(x,H(y)) |
(5) |
The underlying signature is as follows:
{H/1, F/2, R/1, K/2, G/2, P/1, Q/2}Property / Task
Prove or disprove confluence.Answer / Result
Yes.Proof (by csi @ CoCo 2022)
1 Redundant Rules Transformation
To prove that the TRS is (non-)confluent, we show (non-)confluence of the following
modified system:
H(G(x,y)) |
→ |
G(x,H(y)) |
(5) |
Q(x,H(R(y))) |
→ |
H(Q(x,y)) |
(4) |
H(Q(x,y)) |
→ |
Q(x,H(R(y))) |
(3) |
F(x,K(y,z)) |
→ |
G(P(y),Q(z,x)) |
(2) |
H(F(x,y)) |
→ |
F(H(R(x)),y) |
(1) |
Q(x,H(R(y))) |
→ |
Q(x,H(R(y))) |
(6) |
H(Q(x,y)) |
→ |
H(Q(x,y)) |
(7) |
All redundant rules that were added or removed can be
simulated in 2 steps
.
1.1 Decreasing Diagrams
1.1.2 Rule Labeling
Confluence is proven, because all critical peaks can be joined decreasingly
using the following rule labeling function (rules that are not shown have label 0).
-
H(G(x,y)) |
→ |
G(x,H(y)) |
(5) |
↦ 0
-
Q(x,H(R(y))) |
→ |
H(Q(x,y)) |
(4) |
↦ 0
-
H(Q(x,y)) |
→ |
Q(x,H(R(y))) |
(3) |
↦ 0
-
F(x,K(y,z)) |
→ |
G(P(y),Q(z,x)) |
(2) |
↦ 1
-
H(F(x,y)) |
→ |
F(H(R(x)),y) |
(1) |
↦ 0
-
Q(x,H(R(y))) |
→ |
Q(x,H(R(y))) |
(6) |
↦ 0
-
H(Q(x,y)) |
→ |
H(Q(x,y)) |
(7) |
↦ 0
The critical pairs can be joined as follows. Here,
↔ is always chosen as an appropriate rewrite relation which
is automatically inferred by the certifier.
-
The critical peak s = H(H(Q(x,x370)))←→ε Q(x,H(R(H(R(x370))))) = t can be joined as follows.
s
↔ H(Q(x,H(R(x370)))) ↔
t
-
The critical peak s = H(Q(x,y))←→ε Q(x,H(R(y))) = t can be joined as follows.
s
↔ H(Q(x,y)) ↔
t
-
The critical peak s = H(Q(x,y))←→ε Q(x,H(R(y))) = t can be joined as follows.
s
↔
t
-
The critical peak s = H(H(Q(x,x374)))←→ε H(Q(x,H(R(x374)))) = t can be joined as follows.
s
↔ H(H(Q(x,x374))) ↔
t
-
The critical peak s = H(H(Q(x,x374)))←→ε H(Q(x,H(R(x374)))) = t can be joined as follows.
s
↔
t
-
The critical peak s = Q(x,H(R(y)))←→ε H(Q(x,y)) = t can be joined as follows.
s
↔ Q(x,H(R(y))) ↔
t
-
The critical peak s = Q(x,H(R(y)))←→ε H(Q(x,y)) = t can be joined as follows.
s
↔
t
-
The critical peak s = H(G(P(x378),Q(x379,x)))←→ε F(H(R(x)),K(x378,x379)) = t can be joined as follows.
s
↔ G(P(x378),H(Q(x379,x))) ↔ G(P(x378),Q(x379,H(R(x)))) ↔
t
-
The critical peak s = H(G(P(x378),Q(x379,x)))←→ε F(H(R(x)),K(x378,x379)) = t can be joined as follows.
s
↔ G(P(x378),H(Q(x379,x))) ↔ G(P(x378),H(Q(x379,x))) ↔ G(P(x378),Q(x379,H(R(x)))) ↔
t
-
The critical peak s = H(G(P(x378),Q(x379,x)))←→ε F(H(R(x)),K(x378,x379)) = t can be joined as follows.
s
↔ G(P(x378),H(Q(x379,x))) ↔ G(P(x378),Q(x379,H(R(x)))) ↔
t
-
The critical peak s = H(G(P(x378),Q(x379,x)))←→ε F(H(R(x)),K(x378,x379)) = t can be joined as follows.
s
↔ G(P(x378),H(Q(x379,x))) ↔ G(P(x378),Q(x379,H(R(x)))) ↔ G(P(x378),Q(x379,H(R(x)))) ↔
t
-
The critical peak s = Q(x,H(R(y)))←→ε H(Q(x,y)) = t can be joined as follows.
s
↔ Q(x,H(R(y))) ↔
t
-
The critical peak s = Q(x,H(R(y)))←→ε H(Q(x,y)) = t can be joined as follows.
s
↔
t
-
The critical peak s = H(Q(x,H(R(x383))))←→ε Q(x,H(R(H(R(x383))))) = t can be joined as follows.
s
↔ H(Q(x,H(R(x383)))) ↔
t
-
The critical peak s = H(Q(x,H(R(x383))))←→ε Q(x,H(R(H(R(x383))))) = t can be joined as follows.
s
↔
t
-
The critical peak s = H(Q(x,H(R(x385))))←→ε H(Q(x,H(R(x385)))) = t can be joined as follows.
s
↔
t
-
The critical peak s = H(Q(x,y))←→ε Q(x,H(R(y))) = t can be joined as follows.
s
↔ H(Q(x,y)) ↔
t
-
The critical peak s = H(Q(x,y))←→ε Q(x,H(R(y))) = t can be joined as follows.
s
↔
t
/>