YES Confluence Proof

Confluence Proof

by Hakusan

Input

The rewrite relation of the following TRS is considered.

H(F(x,y)) F(H(R(x)),y)
F(x,K(y,z)) G(P(y),Q(z,x))
H(Q(x,y)) Q(x,H(R(y)))
Q(x,H(R(y))) H(Q(x,y))
H(G(x,y)) G(x,H(y))

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 TRS C is chosen as:
Q(x,H(R(y))) H(Q(x,y))
Consequently, PCPS(R,C) is included in the following TRS P where steps are used to show that certain pairs are C-convertible.
H(F(y1,K(x1_2,x1_3))) H(G(P(x1_2),Q(x1_3,y1)))
H(F(y1,K(x1_2,x1_3))) F(H(R(y1)),K(x1_2,x1_3))

Relative termination of P / R is proven as follows.

1.1 Rule Removal

Using the linear polynomial interpretation over (2 x 2)-matrices with strict dimension 1 over the naturals
[Q(x1, x2)] =
1 0
0 0
· x1 +
2 0
2 0
· x2 +
0 0
0 0
[F(x1, x2)] =
2 0
2 0
· x1 +
2 0
0 2
· x2 +
0 0
0 0
[P(x1)] =
1 2
0 0
· x1 +
0 0
0 0
[G(x1, x2)] =
3 2
0 2
· x1 +
1 0
0 1
· x2 +
0 0
2 0
[K(x1, x2)] =
2 3
0 0
· x1 +
1 1
0 0
· x2 +
1 0
1 0
[R(x1)] =
3 0
0 0
· x1 +
0 0
0 0
[H(x1)] =
1 2
0 3
· x1 +
0 0
0 0
all rules of R could be removed. Moreover, the rules
H(F(x,y)) F(H(R(x)),y)
H(Q(x,y)) Q(x,H(R(y)))
Q(x,H(R(y))) H(Q(x,y))
remain in S.

1.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 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 TRS C is chosen as:

There are no rules.

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.2.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.2 (Weakly) Orthogonal

Confluence is proven since the TRS is (weakly) orthogonal.

Tool configuration

Hakusan