YES
Confluence Proof
Confluence Proof
by Hakusan
Input
The rewrite relation of the following TRS is considered.
f(a,b) |
→ |
c |
a |
→ |
a' |
b |
→ |
b' |
c |
→ |
f(a',b) |
c |
→ |
f(a,b') |
c |
→ |
f(a,b) |
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 = f(a',b') {1, 2}←f(a,b)→ε c = t can be joined as follows.
s
↔ f(a',b) ↔
t
-
The critical peak s = f(a',b) {1}←f(a,b)→ε c = t can be joined as follows.
s
↔
t
-
The critical peak s = f(a,b') {2}←f(a,b)→ε c = t can be joined as follows.
s
↔
t
-
The critical peak s = f(a,b') {ε}←c→ε f(a',b) = t can be joined as follows.
s
↔ f(a',b') ↔
t
-
The critical peak s = f(a,b) {ε}←c→ε f(a',b) = t can be joined as follows.
s
↔
t
-
The critical peak s = f(a',b) {ε}←c→ε f(a,b') = t can be joined as follows.
s
↔ f(a',b') ↔
t
-
The critical peak s = f(a,b) {ε}←c→ε f(a,b') = t can be joined as follows.
s
↔
t
-
The critical peak s = f(a',b) {ε}←c→ε f(a,b) = t can be joined as follows.
s
↔
t
-
The critical peak s = f(a,b') {ε}←c→ε f(a,b) = t can be joined as follows.
s
↔
t
The TRS C is chosen as:
f(a,b) |
→ |
c |
a |
→ |
a' |
b |
→ |
b' |
c |
→ |
f(a',b) |
c |
→ |
f(a,b') |
c |
→ |
f(a,b) |
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).
-
f(a,b)→c ↦ 3
-
a→a' ↦ 6
-
b→b' ↦ 4
-
c→f(a',b) ↦ 7
-
c→f(a,b') ↦ 5
-
c→f(a,b) ↦ 3
-
f(a,b)→c ↦ 8
-
a→a' ↦ 6
-
b→b' ↦ 1
-
c→f(a',b) ↦ 7
-
c→f(a,b') ↦ 2
-
c→f(a,b) ↦ 6
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 = f(a',b') {1, 2}←6 f(a,b) 8→ε c = t can be joined as follows.
s
↔ f(a',b') ↔ f(a',b) ↔ c ↔
t
-
The critical peak s = f(a',b) {1}←6 f(a,b) 8→ε c = t can be joined as follows.
s
↔ f(a',b') ↔ f(a,b') ↔ c ↔
t
-
The critical peak s = f(a,b') {2}←4 f(a,b) 8→ε c = t can be joined as follows.
s
↔ f(a,b') ↔ f(a',b') ↔ f(a',b) ↔ c ↔
t
-
The critical peak s = f(a,b') {ε}←5 c 7→ε f(a',b) = t can be joined as follows.
s
↔ f(a,b') ↔ f(a',b') ↔ f(a',b) ↔
t
-
The critical peak s = f(a,b) {ε}←3 c 7→ε f(a',b) = t can be joined as follows.
s
↔ f(a,b) ↔ f(a',b) ↔
t
-
The critical peak s = f(a',b) {ε}←7 c 2→ε f(a,b') = t can be joined as follows.
s
↔ f(a',b) ↔ f(a',b') ↔ f(a,b') ↔
t
-
The critical peak s = f(a,b) {ε}←3 c 2→ε f(a,b') = t can be joined as follows.
s
↔ f(a,b) ↔ f(a,b') ↔
t
-
The critical peak s = f(a',b) {ε}←7 c 6→ε f(a,b) = t can be joined as follows.
s
↔ f(a',b) ↔ f(a,b) ↔
t
-
The critical peak s = f(a,b') {ε}←5 c 6→ε f(a,b) = t can be joined as follows.
s
↔ f(a,b') ↔ c ↔ f(a,b) ↔
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 = f(a',b') {1, 2}←6 f(a,b) 3→ε c = t can be joined as follows.
s
↔ f(a',b') ↔ f(a,b') ↔
t
-
The critical peak s = f(a',b) {1}←6 f(a,b) 3→ε c = t can be joined as follows.
s
↔ f(a',b) ↔ f(a',b') ↔ f(a,b') ↔
t
-
The critical peak s = f(a,b') {2}←1 f(a,b) 3→ε c = t can be joined as follows.
s
↔ f(a,b') ↔ c ↔
t
-
The critical peak s = f(a,b') {ε}←2 c 7→ε f(a',b) = t can be joined as follows.
s
↔ f(a,b') ↔ f(a',b') ↔ f(a',b) ↔
t
-
The critical peak s = f(a,b) {ε}←6 c 7→ε f(a',b) = t can be joined as follows.
s
↔ f(a,b) ↔ f(a',b) ↔
t
-
The critical peak s = f(a',b) {ε}←7 c 5→ε f(a,b') = t can be joined as follows.
s
↔ f(a',b) ↔ f(a',b') ↔ f(a,b') ↔
t
-
The critical peak s = f(a,b) {ε}←6 c 5→ε f(a,b') = t can be joined as follows.
s
↔ f(a,b) ↔ f(a,b') ↔
t
-
The critical peak s = f(a',b) {ε}←7 c 3→ε f(a,b) = t can be joined as follows.
s
↔ f(a',b) ↔ f(a,b) ↔
t
-
The critical peak s = f(a,b') {ε}←2 c 3→ε f(a,b) = t can be joined as follows.
s
↔ f(a,b') ↔ f(a,b) ↔
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