Certification Problem
Input (COPS 506)
We consider the TRS containing the following rules:
f(f(f(x))) |
→ |
a |
(1) |
f(f(a)) |
→ |
a |
(2) |
f(a) |
→ |
a |
(3) |
f(f(g(g(x)))) |
→ |
f(a) |
(4) |
g(f(a)) |
→ |
a |
(5) |
g(a) |
→ |
a |
(6) |
The underlying signature is as follows:
{f/1, a/0, g/1}Property / Task
Prove or disprove confluence.Answer / Result
Yes.Proof (by csi @ CoCo 2023)
1 Redundant Rules Transformation
To prove that the TRS is (non-)confluent, we show (non-)confluence of the following
modified system:
g(a) |
→ |
a |
(6) |
g(f(a)) |
→ |
a |
(5) |
f(f(g(g(x)))) |
→ |
f(a) |
(4) |
f(a) |
→ |
a |
(3) |
f(f(a)) |
→ |
a |
(2) |
f(f(f(x))) |
→ |
a |
(1) |
f(f(g(g(x)))) |
→ |
a |
(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).
-
↦ 0
-
↦ 1
-
↦ 1
-
↦ 0
-
↦ 0
-
↦ 0
-
↦ 1
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 = f(f(g(a)))←→ε f(a) = t can be joined as follows.
s
↔ f(f(a)) ↔
t
-
The critical peak s = f(f(g(a)))←→ε f(a) = t can be joined as follows.
s
↔ f(f(a)) ↔ a ↔
t
-
The critical peak s = f(f(g(a)))←→ε a = t can be joined as follows.
s
↔ f(f(a)) ↔
t
-
The critical peak s = f(f(g(a)))←→ε f(a) = t can be joined as follows.
s
↔ f(f(a)) ↔
t
-
The critical peak s = f(f(g(a)))←→ε f(a) = t can be joined as follows.
s
↔ f(f(a)) ↔ a ↔
t
-
The critical peak s = f(f(g(a)))←→ε a = t can be joined as follows.
s
↔ f(f(a)) ↔
t
-
The critical peak s = f(f(a))←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = f(f(f(a)))←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = f(a)←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = g(a)←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = f(a)←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = f(f(a))←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = f(a)←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = f(f(a))←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = f(a)←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = f(f(a))←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = a←→ε f(a) = t can be joined as follows.
s
↔ a ↔
t
-
The critical peak s = f(a)←→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = f(f(a))←→ε a = t can be joined as follows.
s
↔
t
/>