YES Problem: +(0(),y) -> y +(s(x),0()) -> s(x) +(s(x),s(y)) -> s(+(s(x),+(y,0()))) Proof: DP Processor: DPs: +#(s(x),s(y)) -> +#(y,0()) +#(s(x),s(y)) -> +#(s(x),+(y,0())) TRS: +(0(),y) -> y +(s(x),0()) -> s(x) +(s(x),s(y)) -> s(+(s(x),+(y,0()))) EDG Processor: DPs: +#(s(x),s(y)) -> +#(y,0()) +#(s(x),s(y)) -> +#(s(x),+(y,0())) TRS: +(0(),y) -> y +(s(x),0()) -> s(x) +(s(x),s(y)) -> s(+(s(x),+(y,0()))) graph: +#(s(x),s(y)) -> +#(s(x),+(y,0())) -> +#(s(x),s(y)) -> +#(y,0()) +#(s(x),s(y)) -> +#(s(x),+(y,0())) -> +#(s(x),s(y)) -> +#(s(x),+(y,0())) SCC Processor: #sccs: 1 #rules: 1 #arcs: 2/4 DPs: +#(s(x),s(y)) -> +#(s(x),+(y,0())) TRS: +(0(),y) -> y +(s(x),0()) -> s(x) +(s(x),s(y)) -> s(+(s(x),+(y,0()))) Matrix Interpretation Processor: dim=1 interpretation: [+#](x0, x1) = x1, [s](x0) = x0 + 1, [+](x0, x1) = x0 + 4x1, [0] = 0 orientation: +#(s(x),s(y)) = y + 1 >= y = +#(s(x),+(y,0())) +(0(),y) = 4y >= y = y +(s(x),0()) = x + 1 >= x + 1 = s(x) +(s(x),s(y)) = x + 4y + 5 >= x + 4y + 2 = s(+(s(x),+(y,0()))) problem: DPs: TRS: +(0(),y) -> y +(s(x),0()) -> s(x) +(s(x),s(y)) -> s(+(s(x),+(y,0()))) Qed