YES Confluence Proof

Confluence Proof

by csi

Input

The rewrite relation of the following TRS is considered.

+(x,0) x
+(x,s(y)) s(+(x,y))
*(x,0) 0
*(x,s(y)) +(*(x,y),x)
+(x,y) +(y,x)

Proof

1 Redundant Rules Transformation

To prove that the TRS is (non-)confluent, we show (non-)confluence of the following modified system:

+(x,y) +(y,x)
*(x,s(y)) +(*(x,y),x)
*(x,0) 0
+(x,s(y)) s(+(x,y))
+(x,0) x
+(0,x) x
+(s(y),x) s(+(x,y))
+(s(x79),x) s(+(x,x79))

All redundant rules that were added or removed can be simulated in 2 steps .

1.1 Decreasing Diagrams

1.1.1 Relative Termination Proof

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

1.1.1.1 Rule Removal

Using the non-linear polynomial interpretation over the naturals
[+(x1, x2)] = 1 · x1 + 1 · x2 + 0 · x1 · x1 + 0 · x1 · x2 + 0 · x2 · x1 + 0 · x2 · x2 + 0
[*(x1, x2)] = 2 · x1 + 2 · x2 + 0 · x1 · x1 + 1 · x1 · x2 + 2 · x2 · x1 + 0 · x2 · x2 + 0
[0] = 2
[s(x1)] = 1 · x1 + 0 · x1 · x1 + 2
all rules of R could be removed. Moreover, the rules
+(x,y) +(y,x)
+(x,s(y)) s(+(x,y))
+(s(y),x) s(+(x,y))
+(s(x79),x) s(+(x,x79))
remain 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.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