YES Confluence Proof

Confluence Proof

by csi

Input

The rewrite relation of the following TRS is considered.

f(g(x)) f(h(x,x))
g(a) g(g(a))
h(a,a) g(g(a))

Proof

1 Decreasing Diagrams

1.1 Relative Termination Proof

The duplicating rules (R) terminate relative to the other rules (S).

1.1.1 Rule Removal

Using the linear polynomial interpretation over (3 x 3)-matrices with strict dimension 1 over the naturals
[f(x1)] =
1 0 1
0 0 1
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[a] =
0 0 0
1 0 0
0 0 0
[g(x1)] =
1 0 0
0 0 0
1 1 0
· x1 +
0 0 0
0 0 0
0 0 0
[h(x1, x2)] =
1 0 0
0 1 1
0 0 0
· x1 +
1 1 0
0 0 0
0 0 0
· x2 +
0 0 0
0 0 0
0 0 0
the rule
f(g(x)) f(h(x,x))
remains in R. Moreover, the rule
g(a) g(g(a))
remains in S.

1.1.1.1 Rule Removal

Using the linear polynomial interpretation over (2 x 2)-matrices with strict dimension 1 over the naturals
[f(x1)] =
1 2
0 0
· x1 +
0 0
0 0
[a] =
0 0
0 0
[g(x1)] =
2 0
0 0
· x1 +
0 0
1 0
[h(x1, x2)] =
1 0
0 0
· x1 +
1 0
0 0
· x2 +
0 0
0 0
all rules of R could be removed. Moreover, the rule
g(a) g(g(a))
remains in S.

1.1.1.1.1 R is empty

There are no rules in the TRS R. Hence, R/S is relative terminating.

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). All critical pairs are joinable:

Tool configuration

csi