YES Confluence Proof

Confluence Proof

by csi

Input

The rewrite relation of the following TRS is considered.

or(x,T) T
or(x,F) x
or(T,x) T
or(F,x) x
or(or(x,y),z) or(x,or(y,z))
or(x,y) or(y,x)

Proof

1 Redundant Rules Transformation

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

or(x,y) or(y,x)
or(or(x,y),z) or(x,or(y,z))
or(F,x) x
or(T,x) T
or(x,F) x
or(x,T) T
or(x,y) or(x,y)
or(or(x,y),z) or(x,or(z,y))
or(or(x,y),z) or(or(y,z),x)

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

1.1 Redundant Rules Transformation

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

or(or(x,y),z) or(or(y,z),x)
or(or(x,y),z) or(x,or(z,y))
or(x,T) T
or(x,F) x
or(T,x) T
or(F,x) x
or(or(x,y),z) or(x,or(y,z))
or(x,y) or(y,x)

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

1.1.1 Redundant Rules Transformation

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

or(or(x,y),z) or(or(y,z),x)
or(or(x,y),z) or(x,or(z,y))
or(x,T) T
or(x,F) x
or(T,x) T
or(F,x) x
or(or(x,y),z) or(x,or(y,z))
or(x,y) or(y,x)
or(or(x,y),z) or(or(z,x),y)
or(or(x,y),z) or(y,or(x,z))
or(or(x,y),z) or(y,or(z,x))
or(or(x,y),z) or(or(z,y),x)
or(x,y) or(x,y)

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

1.1.1.1 Decreasing Diagrams

1.1.1.1.1 Relative Termination Proof

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

1.1.1.1.1.1 R is empty

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

1.1.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