YES
Confluence Proof
Confluence Proof
by Hakusan
Input
The rewrite relation of the following TRS is considered.
a |
→ |
b |
a |
→ |
c |
a |
→ |
e |
b |
→ |
d |
c |
→ |
a |
d |
→ |
a |
d |
→ |
e |
g(x) |
→ |
h(a) |
h(x) |
→ |
e |
Proof
1 Compositional Parallel Critical Pair Systems
All parallel critical pairs of the TRS R are joinable by R.
This can be seen as follows:
The parallel 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 = c {ε}←a→ε b = t can be joined as follows.
s
↔ a ↔ d ↔
t
-
The critical peak s = e {ε}←a→ε b = t can be joined as follows.
s
↔ d ↔
t
-
The critical peak s = b {ε}←a→ε c = t can be joined as follows.
s
↔ a ↔
t
-
The critical peak s = e {ε}←a→ε c = t can be joined as follows.
s
↔ a ↔
t
-
The critical peak s = b {ε}←a→ε e = t can be joined as follows.
s
↔ d ↔
t
-
The critical peak s = c {ε}←a→ε e = t can be joined as follows.
s
↔ a ↔
t
-
The critical peak s = e {ε}←d→ε a = t can be joined as follows.
s
↔
t
-
The critical peak s = a {ε}←d→ε e = t can be joined as follows.
s
↔
t
The TRS C is chosen as:
a |
→ |
b |
a |
→ |
c |
a |
→ |
e |
b |
→ |
d |
c |
→ |
a |
d |
→ |
a |
d |
→ |
e |
g(x) |
→ |
h(a) |
h(x) |
→ |
e |
Consequently, PCPS(R,C) is included in the following TRS P where
steps are used to show that certain pairs are C-convertible.
There are no rules.
Relative termination of P / R is proven as follows.
1.1 R is empty
There are no rules in the TRS R. Hence, R/S is relative terminating.
Confluence of C is proven as follows.
1.2 Compositional Rule Labeling with Parallel Critical Pairs
Confluence is proven by compositional rule labeling with parallel critical pairs.
The following labeling functions phi and psi are used (if only one is displayed, then phi = psi).
-
a→b ↦ 10
-
a→c ↦ 4
-
a→e ↦ 6
-
b→d ↦ 1
-
c→a ↦ 5
-
d→a ↦ 4
-
d→e ↦ 5
-
g(x)→h(a) ↦ 1
-
h(x)→e ↦ 1
-
a→b ↦ 3
-
a→c ↦ 8
-
a→e ↦ 2
-
b→d ↦ 1
-
c→a ↦ 1
-
d→a ↦ 7
-
d→e ↦ 9
-
g(x)→h(a) ↦ 1
-
h(x)→e ↦ 1
The non-0-0 parallel critical pairs are joined as follows.
-
The parallel-phi-root-psi 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 = c {ε}←4 a 3→ε b = t can be joined as follows.
s
↔ a ↔ b ↔
t
-
The critical peak s = e {ε}←6 a 3→ε b = t can be joined as follows.
s
↔ e ↔ d ↔
t
-
The critical peak s = b {ε}←10 a 8→ε c = t can be joined as follows.
s
↔ b ↔ d ↔ a ↔ c ↔
t
-
The critical peak s = e {ε}←6 a 8→ε c = t can be joined as follows.
s
↔ e ↔ a ↔ c ↔
t
-
The critical peak s = b {ε}←10 a 2→ε e = t can be joined as follows.
s
↔ b ↔ d ↔ e ↔
t
-
The critical peak s = c {ε}←4 a 2→ε e = t can be joined as follows.
s
↔ a ↔ e ↔
t
-
The critical peak s = e {ε}←5 d 7→ε a = t can be joined as follows.
s
↔ e ↔ a ↔
t
-
The critical peak s = a {ε}←4 d 9→ε e = t can be joined as follows.
s
↔ a ↔ e ↔
t
-
The parallel-psi-root-phi 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 = c {ε}←8 a 10→ε b = t can be joined as follows.
s
↔ c ↔ a ↔ d ↔
t
-
The critical peak s = e {ε}←2 a 10→ε b = t can be joined as follows.
s
↔ e ↔ d ↔
t
-
The critical peak s = b {ε}←3 a 4→ε c = t can be joined as follows.
s
↔ d ↔ a ↔ c ↔
t
-
The critical peak s = e {ε}←2 a 4→ε c = t can be joined as follows.
s
↔ e ↔ a ↔ c ↔
t
-
The critical peak s = b {ε}←3 a 6→ε e = t can be joined as follows.
s
↔ b ↔ d ↔ e ↔
t
-
The critical peak s = c {ε}←8 a 6→ε e = t can be joined as follows.
s
↔ a ↔ e ↔
t
-
The critical peak s = e {ε}←9 d 4→ε a = t can be joined as follows.
s
↔ e ↔ a ↔
t
-
The critical peak s = a {ε}←7 d 5→ε e = t can be joined as follows.
s
↔ a ↔ e ↔
t
The remaining rules are handled recursively.
There are no rules.
1.2.1 (Weakly) Orthogonal
Confluence is proven since the TRS is (weakly) orthogonal.
Tool configuration
Hakusan