Certification Problem
Input (COPS 87)
We consider the TRS containing the following rules:
f(x) |
→ |
g(f(x)) |
(1) |
h(x) |
→ |
p(h(x)) |
(2) |
f(x) |
→ |
h(f(x)) |
(3) |
g(x) |
→ |
p(p(h(x))) |
(4) |
The underlying signature is as follows:
{f/1, g/1, h/1, p/1}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) |
→ |
p(p(h(x))) |
(4) |
f(x) |
→ |
h(f(x)) |
(3) |
h(x) |
→ |
p(h(x)) |
(2) |
f(x) |
→ |
g(f(x)) |
(1) |
h(f(x)) |
→ |
p(p(h(f(x)))) |
(5) |
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).
-
↦ 0
-
↦ 1
-
↦ 0
-
↦ 1
-
h(f(x)) |
→ |
p(p(h(f(x)))) |
(5) |
↦ 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(f(x))←→ε g(f(x)) = t can be joined as follows.
s
↔ p(p(h(f(x)))) ↔
t
-
The critical peak s = h(h(f(x)))←→ε p(p(h(f(x)))) = t can be joined as follows.
s
↔ p(h(h(f(x)))) ↔ p(p(h(h(f(x))))) ↔
t
-
The critical peak s = p(h(f(x)))←→ε p(p(h(f(x)))) = t can be joined as follows.
s
↔
t
-
The critical peak s = p(h(f(x)))←→ε p(p(h(f(x)))) = t can be joined as follows.
s
↔ p(p(p(h(f(x))))) ↔
t
-
The critical peak s = g(f(x))←→ε h(f(x)) = t can be joined as follows.
s
↔ p(p(h(f(x)))) ↔
t
-
The critical peak s = h(g(f(x)))←→ε p(p(h(f(x)))) = t can be joined as follows.
s
↔ p(h(g(f(x)))) ↔ p(p(h(g(f(x))))) ↔
t
-
The critical peak s = p(p(h(f(x54))))←→ε p(h(f(x54))) = t can be joined as follows.
s
↔ p(p(h(f(x54)))) ↔
t
-
The critical peak s = p(p(h(f(x54))))←→ε p(h(f(x54))) = t can be joined as follows.
s
↔ p(p(p(h(f(x54))))) ↔
t
/>