YES Confluence Proof

Confluence Proof

by csi

Input

The rewrite relation of the following TRS is considered.

nats :(0,inc(nats))
inc(:(x,y)) :(s(x),inc(y))
hd(:(x,y)) x
tl(:(x,y)) y
inc(tl(nats)) tl(inc(nats))

Proof

1 Redundant Rules Transformation

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

inc(tl(nats)) tl(inc(nats))
tl(:(x,y)) y
hd(:(x,y)) x
inc(:(x,y)) :(s(x),inc(y))
nats :(0,inc(nats))
tl(inc(nats)) inc(inc(nats))

All redundant rules that were added or removed can be simulated in 3 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 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