Certification Problem

Input (COPS 310)

The rewrite relation of the following conditional TRS is considered.

gcd(add(x,y),y) → gcd(x,y)
gcd(y,add(x,y)) → gcd(x,y)
gcd(x,0) → x
gcd(0,x) → x
gcd(x,y) → gcd(y,x) | leq(y,x) ≈ false
add(0,y) → y
add(s(x),y) → s(add(x,y))

Property / Task

Prove or disprove confluence.

Answer / Result

No.

Proof (by ConCon @ CoCo 2020)

1 Removal of Infeasible Rules

We may safely remove rules with infeasible conditions. They do not influence the rewrite relation in any way.

1.1 Rules with Infeasible Conditions

1.2 Non-Joinable Fork

The system is not confluent due to the following forking derivations.
gcd(z',add(s(y'),z')) →* gcd(z',s(add(y',z')))
gcd(z',add(s(y'),z')) →* gcd(s(y'),z')
The two resulting terms cannot be joined for the following reason: