Problem: +(0(),y) -> y +(x,0()) -> x +(s(x),y) -> s(+(x,y)) +(x,s(y)) -> +(s(y),x) +(x,+(y,z)) -> +(+(x,y),z) +(x,y) -> +(y,x) dbl(x) -> +(x,x) Proof: AT confluence processor Complete TRS T' of input TRS: +(0(),y) -> y +(x,0()) -> x +(s(x),y) -> s(+(x,y)) dbl(x) -> +(x,x) +(x,s(x119)) -> s(+(x,x119)) +(x,s(y)) -> +(s(y),x) +(x,+(y,z)) -> +(+(x,y),z) +(x,y) -> +(y,x) T' = (P union S) with TRS P:+(x,s(y)) -> +(s(y),x) +(x,+(y,z)) -> +(+(x,y),z) +(x,y) -> +(y,x) TRS S:+(0(),y) -> y +(x,0()) -> x +(s(x),y) -> s(+(x,y)) dbl(x) -> +(x,x) +(x,s(x119)) -> s(+(x,x119)) S is left-linear and P is reversible. CP(S,S) = 0() = 0(), s(x119) = s(+(0(),x119)), s(x) = s(+(x,0())), s(+(x429,0())) = s(x429), s(+(x431,s(x119))) = s(+(s(x431),x119)), s(+(0(),x434)) = s(x434), s(+(s(x),x436)) = s(+(x,s(x436))) CP(S,P union P^-1) = s(y) = +(s(y),0()), +(y,z) = +(+(0(),y),z), +(x,z) = +(+(x,0()),z), y = +(y,0()), +(y,z) = +(0(),+(y,z)), x = +(x,0()), +(x,y) = +(+(x,y),0()), x = +(0(),x), s(y) = +(0(),s(y)), +(x,y) = +(x,+(y,0())), +(x,z) = +(x,+(0(),z)), y = +(0(),y), s(+(x519,s(y))) = +(s(y),s(x519)), s(+(x521,+(y,z))) = +(+(s(x521),y),z), +(x,s(+(x523,z))) = +(+(x,s(x523)),z), s(+(x525,y)) = +(y,s(x525)), s(+(y,x)) = +(x,s(y)), +(s(+(x529,y)),z) = +(s(x529),+(y,z)), s(+(x531,x)) = +(x,s(x531)), s(+(x,y)) = +(s(y),x), +(x,s(+(y,x536))) = +(+(x,y),s(x536)), s(+(x,x538)) = +(s(x538),x), s(+(s(y),x540)) = +(s(x540),s(y)), s(+(+(x,y),x542)) = +(x,+(y,s(x542))), +(s(+(x,x544)),z) = +(x,+(s(x544),z)), s(+(y,x546)) = +(s(x546),y) PCP_in(P union P^-1,S) = We have to check termination of S: Matrix Interpretation Processor: dim=1 interpretation: [+](x0, x1) = 6x0 + x1, [dbl](x0) = 7x0 + 2, [0] = 2, [s](x0) = x0 orientation: +(0(),y) = y + 12 >= y = y +(x,0()) = 6x + 2 >= x = x +(s(x),y) = 6x + y >= 6x + y = s(+(x,y)) dbl(x) = 7x + 2 >= 7x = +(x,x) +(x,s(x119)) = 6x + x119 >= 6x + x119 = s(+(x,x119)) problem: +(s(x),y) -> s(+(x,y)) +(x,s(x119)) -> s(+(x,x119)) Matrix Interpretation Processor: dim=1 interpretation: [+](x0, x1) = 2x0 + 4x1 + 4, [s](x0) = x0 + 1 orientation: +(s(x),y) = 2x + 4y + 6 >= 2x + 4y + 5 = s(+(x,y)) +(x,s(x119)) = 2x + 4x119 + 8 >= 2x + 4x119 + 5 = s(+(x,x119)) problem: Qed