YES Problem: +(x,0()) -> x +(x,s(y)) -> s(+(x,y)) +(+(x,y),z) -> +(x,+(y,z)) +(x,y) -> +(y,x) Proof: AT confluence processor Complete TRS T' of input TRS: +(x,0()) -> x +(x,s(y)) -> s(+(x,y)) +(0(),x) -> x +(s(y),x) -> s(+(y,x)) +(+(x,y),z) -> +(x,+(y,z)) +(x,y) -> +(y,x) T' = (P union S) with TRS P:+(+(x,y),z) -> +(x,+(y,z)) +(x,y) -> +(y,x) TRS S:+(x,0()) -> x +(x,s(y)) -> s(+(x,y)) +(0(),x) -> x +(s(y),x) -> s(+(y,x)) S is linear and P is reversible. CP(S,S) = 0() = 0(), s(y) = s(+(y,0())), s(+(0(),x342)) = s(x342), s(+(s(y),x344)) = s(+(y,s(x344))), s(y) = s(+(0(),y)), s(+(x347,0())) = s(x347), s(+(x349,s(y))) = s(+(s(x349),y)) CP(S,P union P^-1) = +(x,y) = +(x,+(y,0())), +(x,z) = +(x,+(0(),z)), x = +(0(),x), +(x,y) = +(+(x,y),0()), y = +(0(),y), s(+(+(x,y),x393)) = +(x,+(y,s(x393))), +(s(+(x,x395)),z) = +(x,+(s(x395),z)), s(+(x,x397)) = +(s(x397),x), +(x,s(+(y,x399))) = +(+(x,y),s(x399)), s(+(y,x401)) = +(s(x401),y), +(y,z) = +(0(),+(y,z)), y = +(y,0()), +(y,z) = +(+(0(),y),z), +(x,z) = +(+(x,0()),z), x = +(x,0()), +(s(+(x407,y)),z) = +(s(x407),+(y,z)), s(+(x409,y)) = +(y,s(x409)), s(+(x411,+(y,z))) = +(+(s(x411),y),z), +(x,s(+(x413,z))) = +(+(x,s(x413)),z), s(+(x415,x)) = +(x,s(x415)) CP(P union P^-1,S) = +(x497,+(x498,0())) = +(x497,x498), +(x500,+(x501,s(y))) = s(+(+(x500,x501),y)), +(0(),x) = x, +(s(y),x) = s(+(x,y)), +(x,0()) = x, +(x,s(y)) = s(+(y,x)), +(+(0(),x512),x513) = +(x512,x513), +(+(s(y),x515),x516) = s(+(y,+(x515,x516))) We have to check termination of S: Matrix Interpretation Processor: dim=1 interpretation: [+](x0, x1) = 4x0 + x1 + 7, [0] = 0, [s](x0) = x0 orientation: +(x,0()) = 4x + 7 >= x = x +(x,s(y)) = 4x + y + 7 >= 4x + y + 7 = s(+(x,y)) +(0(),x) = x + 7 >= x = x +(s(y),x) = x + 4y + 7 >= x + 4y + 7 = s(+(y,x)) problem: +(x,s(y)) -> s(+(x,y)) +(s(y),x) -> s(+(y,x)) Matrix Interpretation Processor: dim=1 interpretation: [+](x0, x1) = x0 + 4x1 + 5, [s](x0) = x0 + 1 orientation: +(x,s(y)) = x + 4y + 9 >= x + 4y + 6 = s(+(x,y)) +(s(y),x) = 4x + y + 6 >= 4x + y + 6 = s(+(y,x)) problem: +(s(y),x) -> s(+(y,x)) Matrix Interpretation Processor: dim=1 interpretation: [+](x0, x1) = 6x0 + x1 + 2, [s](x0) = x0 + 3 orientation: +(s(y),x) = x + 6y + 20 >= x + 6y + 5 = s(+(y,x)) problem: Qed