Problem: +(x,0()) -> x +(s(x),y) -> s(+(y,x)) +(x,y) -> +(y,x) Proof: AT confluence processor Complete TRS T' of input TRS: +(x,0()) -> x +(s(x),y) -> s(+(y,x)) +(0(),y) -> y +(x,s(x20)) -> s(+(x20,x)) +(x,y) -> +(y,x) T' = (P union S) with TRS P:+(x,y) -> +(y,x) TRS S:+(x,0()) -> x +(s(x),y) -> s(+(y,x)) +(0(),y) -> y +(x,s(x20)) -> s(+(x20,x)) S is left-linear and P is reversible. CP(S,S) = s(x) = s(+(0(),x)), 0() = 0(), s(+(0(),x172)) = s(x172), s(+(s(x20),x174)) = s(+(x20,s(x174))), s(x20) = s(+(x20,0())), s(+(x179,s(x))) = s(+(s(x179),x)), s(+(x181,0())) = s(x181) CP(S,P union P^-1) = x = +(0(),x), y = +(0(),y), s(+(y,x196)) = +(y,s(x196)), s(+(x,x198)) = +(x,s(x198)), y = +(y,0()), x = +(x,0()), s(+(x203,x)) = +(s(x203),x), s(+(x205,y)) = +(s(x205),y) PCP_in(P union P^-1,S) = We have to check termination of S: Matrix Interpretation Processor: dim=1 interpretation: [s](x0) = x0 + 2, [+](x0, x1) = 5x0 + 5x1 + 6, [0] = 5 orientation: +(x,0()) = 5x + 31 >= x = x +(s(x),y) = 5x + 5y + 16 >= 5x + 5y + 8 = s(+(y,x)) +(0(),y) = 5y + 31 >= y = y +(x,s(x20)) = 5x + 5x20 + 16 >= 5x + 5x20 + 8 = s(+(x20,x)) problem: Qed