(ignored inputs)COMMENT R4 of \cite{AT2012} Rewrite Rules: [ +(?x,0) -> ?x, +(?x,s(?y)) -> s(+(?x,?y)), +(0,?y) -> ?y, +(s(?x),?y) -> s(+(?x,?y)), dbl(?x) -> +(?x,?x), +(+(?x,?y),?z) -> +(?x,+(?y,?z)), +(?x,?y) -> +(?y,?x) ] Apply Direct Methods... Inner CPs: [ +(?x,?z_5) = +(?x,+(0,?z_5)), +(s(+(?x_1,?y_1)),?z_5) = +(?x_1,+(s(?y_1),?z_5)), +(?y_2,?z_5) = +(0,+(?y_2,?z_5)), +(s(+(?x_3,?y_3)),?z_5) = +(s(?x_3),+(?y_3,?z_5)), +(+(?y_6,?x_6),?z_5) = +(?x_6,+(?y_6,?z_5)), +(+(?x,+(?y,?z)),?z_1) = +(+(?x,?y),+(?z,?z_1)) ] Outer CPs: [ 0 = 0, s(?x_3) = s(+(?x_3,0)), +(?x_5,?y_5) = +(?x_5,+(?y_5,0)), ?x = +(0,?x), s(+(0,?y_1)) = s(?y_1), s(+(s(?x_3),?y_1)) = s(+(?x_3,s(?y_1))), s(+(+(?x_5,?y_5),?y_1)) = +(?x_5,+(?y_5,s(?y_1))), s(+(?x_1,?y_1)) = +(s(?y_1),?x_1), ?y_2 = +(?y_2,0), s(+(?x_3,?y_3)) = +(?y_3,s(?x_3)), +(?x_5,+(?y_5,?z_5)) = +(?z_5,+(?x_5,?y_5)) ] not Overlay, check Termination... unknown/not Terminating unknown Knuth&Bendix Left-Linear, not Right-Linear unknown Development Closed unknown Upside-Parallel-Closed/Outside-Closed (inner) Parallel CPs: (not computed) unknown Toyama (Parallel CPs) Simultaneous CPs: [ +(?x,+(?y,?z_7)) = +(+(?y,?x),?z_7), +(?x_6,+(?y_6,?y)) = +(?y,+(?x_6,?y_6)), s(+(?x_4,?y)) = +(?y,s(?x_4)), ?y = +(?y,0), s(+(?x,?y_2)) = +(s(?y_2),?x), ?x = +(0,?x), +(+(?x,?y),+(?z,?z_1)) = +(+(?x,+(?y,?z)),?z_1), +(+(?y,?x),+(?z,?z_1)) = +(+(?x,+(?y,?z)),?z_1), +(s(+(?x_6,?y)),+(?z,?z_1)) = +(+(s(?x_6),+(?y,?z)),?z_1), +(?y,+(?z,?z_1)) = +(+(0,+(?y,?z)),?z_1), +(s(+(?x,?y_4)),+(?z,?z_1)) = +(+(?x,+(s(?y_4),?z)),?z_1), +(?x,+(?z,?z_1)) = +(+(?x,+(0,?z)),?z_1), +(+(?x_2,+(?y_2,?y)),+(?z,?z_1)) = +(+(+(?x_2,?y_2),+(?y,?z)),?z_1), +(+(?y,?x),?z) = +(?x,+(?y,?z)), +(s(+(?x_5,?y)),?z) = +(s(?x_5),+(?y,?z)), +(?y,?z) = +(0,+(?y,?z)), +(s(+(?x,?y_3)),?z) = +(?x,+(s(?y_3),?z)), +(?x,?z) = +(?x,+(0,?z)), +(+(?x_1,+(?y_1,?y)),?z) = +(+(?x_1,?y_1),+(?y,?z)), +(?z,+(?x,?y)) = +(?x,+(?y,?z)), s(+(+(?x,?y),?y_2)) = +(?x,+(?y,s(?y_2))), +(?x,?y) = +(?x,+(?y,0)), +(?z,+(?y,?x)) = +(?x,+(?y,?z)), +(?z,s(+(?x_5,?y))) = +(s(?x_5),+(?y,?z)), +(?z,?y) = +(0,+(?y,?z)), +(?z,s(+(?x,?y_3))) = +(?x,+(s(?y_3),?z)), +(?z,?x) = +(?x,+(0,?z)), +(?z,+(?x_1,+(?y_1,?y))) = +(+(?x_1,?y_1),+(?y,?z)), s(+(+(?y,?x),?y_2)) = +(?x,+(?y,s(?y_2))), s(+(s(+(?x_7,?y)),?y_2)) = +(s(?x_7),+(?y,s(?y_2))), s(+(?y,?y_2)) = +(0,+(?y,s(?y_2))), s(+(s(+(?x,?y_5)),?y_2)) = +(?x,+(s(?y_5),s(?y_2))), s(+(?x,?y_2)) = +(?x,+(0,s(?y_2))), s(+(+(?x_3,+(?y_3,?y)),?y_2)) = +(+(?x_3,?y_3),+(?y,s(?y_2))), +(?y,?x) = +(?x,+(?y,0)), s(+(?x_5,?y)) = +(s(?x_5),+(?y,0)), ?y = +(0,+(?y,0)), s(+(?x,?y_3)) = +(?x,+(s(?y_3),0)), ?x = +(?x,+(0,0)), +(?x_1,+(?y_1,?y)) = +(+(?x_1,?y_1),+(?y,0)), +(s(?x),+(?y,?z_6)) = +(s(+(?x,?y)),?z_6), +(?y,s(?x)) = s(+(?x,?y)), s(+(s(?x),?y_2)) = s(+(?x,s(?y_2))), s(?x) = s(+(?x,0)), +(0,+(?y,?z_6)) = +(?y,?z_6), +(?y,0) = ?y, s(+(0,?y_2)) = s(?y_2), +(?x,+(s(?y),?z_6)) = +(s(+(?x,?y)),?z_6), +(s(?y),?x) = s(+(?x,?y)), +(?x_5,+(?y_5,s(?y))) = s(+(+(?x_5,?y_5),?y)), s(+(?x_3,s(?y))) = s(+(s(?x_3),?y)), s(?y) = s(+(0,?y)), +(?x,+(0,?z_6)) = +(?x,?z_6), +(0,?x) = ?x, +(?x_5,+(?y_5,0)) = +(?x_5,?y_5), s(+(?x_3,0)) = s(?x_3), 0 = 0 ] unknown Okui (Simultaneous CPs) unknown Strongly Depth-Preserving & Non-E-Overlapping check Locally Decreasing Diagrams by Rule Labelling... Critical Pair <+(?x,?z_5), +(?x,+(0,?z_5))> by Rules <0, 5> preceded by [(+,1)] joinable by a reduction of rules <[], [([(+,2)],2)]> Critical Pair <+(s(+(?x_1,?y_1)),?z_5), +(?x_1,+(s(?y_1),?z_5))> by Rules <1, 5> preceded by [(+,1)] joinable by a reduction of rules <[([],3),([(s,1)],5)], [([(+,2)],3),([],1)]> Critical Pair <+(?y_2,?z_5), +(0,+(?y_2,?z_5))> by Rules <2, 5> preceded by [(+,1)] joinable by a reduction of rules <[], [([],2)]> Critical Pair <+(s(+(?x_3,?y_3)),?z_5), +(s(?x_3),+(?y_3,?z_5))> by Rules <3, 5> preceded by [(+,1)] joinable by a reduction of rules <[([],3),([(s,1)],5)], [([],3)]> Critical Pair <+(+(?y_6,?x_6),?z_5), +(?x_6,+(?y_6,?z_5))> by Rules <6, 5> preceded by [(+,1)] joinable by a reduction of rules <[([(+,1)],6),([],5)], []> joinable by a reduction of rules <[([],5),([(+,2)],6)], [([],6),([],5)]> Critical Pair <+(+(?x,+(?y,?z)),?z_1), +(+(?x,?y),+(?z,?z_1))> by Rules <5, 5> preceded by [(+,1)] joinable by a reduction of rules <[([],5),([(+,2)],5)], [([],5)]> Critical Pair <0, 0> by Rules <2, 0> preceded by [] joinable by a reduction of rules <[], []> Critical Pair by Rules <3, 0> preceded by [] joinable by a reduction of rules <[([(s,1)],0)], []> Critical Pair <+(?x_5,+(?y_5,0)), +(?x_5,?y_5)> by Rules <5, 0> preceded by [] joinable by a reduction of rules <[([(+,2)],0)], []> Critical Pair <+(0,?x_6), ?x_6> by Rules <6, 0> preceded by [] joinable by a reduction of rules <[([],2)], []> Critical Pair by Rules <2, 1> preceded by [] joinable by a reduction of rules <[], [([(s,1)],2)]> Critical Pair by Rules <3, 1> preceded by [] joinable by a reduction of rules <[([(s,1)],1)], [([(s,1)],3)]> Critical Pair <+(?x_5,+(?y_5,s(?y_1))), s(+(+(?x_5,?y_5),?y_1))> by Rules <5, 1> preceded by [] joinable by a reduction of rules <[([(+,2)],1),([],1)], [([(s,1)],5)]> Critical Pair <+(s(?y_1),?x_6), s(+(?x_6,?y_1))> by Rules <6, 1> preceded by [] joinable by a reduction of rules <[([],3)], [([(s,1)],6)]> Critical Pair <+(?y_6,0), ?y_6> by Rules <6, 2> preceded by [] joinable by a reduction of rules <[([],0)], []> Critical Pair <+(?y_6,s(?x_3)), s(+(?x_3,?y_6))> by Rules <6, 3> preceded by [] joinable by a reduction of rules <[([],1)], [([(s,1)],6)]> Critical Pair <+(?y_6,+(?x_5,?y_5)), +(?x_5,+(?y_5,?y_6))> by Rules <6, 5> preceded by [] joinable by a reduction of rules <[([],6),([],5)], []> unknown Diagram Decreasing check by Reduction-Preserving Completion... STEP: 1 (parallel) S: [ +(?x,0) -> ?x, +(?x,s(?y)) -> s(+(?x,?y)), +(0,?y) -> ?y, +(s(?x),?y) -> s(+(?x,?y)), dbl(?x) -> +(?x,?x) ] P: [ +(+(?x,?y),?z) -> +(?x,+(?y,?z)), +(?x,?y) -> +(?y,?x) ] S: terminating CP(S,S): <0, 0> --> <0, 0> => yes --> => yes --> => yes --> => yes PCP_in(symP,S): CP(S,symP): <+(?x_1,?y_1), +(?x_1,+(?y_1,0))> --> <+(?x_1,?y_1), +(?x_1,?y_1)> => yes <+(?x,?z_1), +(?x,+(0,?z_1))> --> <+(?x,?z_1), +(?x,?z_1)> => yes <+(?x_1,?x), +(+(?x_1,?x),0)> --> <+(?x_1,?x), +(?x_1,?x)> => yes --> => yes --> => yes <+(s(+(?x,?y)),?z_1), +(?x,+(s(?y),?z_1))> --> => yes <+(?x_1,s(+(?x,?y))), +(+(?x_1,?x),s(?y))> --> => yes --> => yes <+(?y,?z_1), +(0,+(?y,?z_1))> --> <+(?y,?z_1), +(?y,?z_1)> => yes <+(?y_1,?z_1), +(+(0,?y_1),?z_1)> --> <+(?y_1,?z_1), +(?y_1,?z_1)> => yes <+(?x_1,?y), +(+(?x_1,0),?y)> --> <+(?x_1,?y), +(?x_1,?y)> => yes --> => yes <+(s(+(?x,?y)),?z_1), +(s(?x),+(?y,?z_1))> --> => yes --> => yes <+(?x_1,s(+(?x,?y))), +(+(?x_1,s(?x)),?y)> --> => yes --> => yes S: [ +(?x,0) -> ?x, +(?x,s(?y)) -> s(+(?x,?y)), +(0,?y) -> ?y, +(s(?x),?y) -> s(+(?x,?y)), dbl(?x) -> +(?x,?x) ] P: [ +(+(?x,?y),?z) -> +(?x,+(?y,?z)), +(?x,?y) -> +(?y,?x) ] Success Reduction-Preserving Completion Direct Methods: CR Final result: CR /local-scratch/hzankl/2012/cops2012/123.trs: Success(CR) (20 msec.)